Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001008/0.001008, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8934/0.8934, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.[0-9,]+.|resistor_s.i.[0-9,]+.|resistor_m.i.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.[0-9,]+.|resistor_s.i.[0-9,]+.|resistor_m.i.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 274.1 MB, free: 4.363 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.288e-06/1.048e-05, allocations: 4.141 kB / 274.1 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005007/0.005017, allocations: 6.377 MB / 280.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.007287, allocations: 2.22 MB / 282.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.007562, allocations: 55.69 kB / 282.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.008047, allocations: 381.3 kB / 283.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.009107, allocations: 0.8738 MB / 284 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.009503, allocations: 361.8 kB / 284.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002235/0.01174, allocations: 3.299 MB / 287.7 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008459/0.01258, allocations: 1.078 MB / 288.7 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.014, allocations: 2.199 MB / 290.9 MB, free: 3.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.01531, allocations: 1.758 MB / 292.7 MB, free: 1.668 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.01554, allocations: 292 kB / 293 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000441/0.01599, allocations: 415.7 kB / 293.4 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004691/0.01645, allocations: 0.8957 MB / 294.3 MB, free: 80 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009097/0.01736, allocations: 1.017 MB / 295.3 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.019, allocations: 2.57 MB / 297.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.019, allocations: 4 kB / 297.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.019, allocations: 0 / 297.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.01902, allocations: 0 / 297.9 MB, free: 12.48 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 591 * Number of variables: 591 Notification: Performance of Generate backend data structure: time 0.003437/0.02246, allocations: 3.446 MB / 301.3 MB, free: 8.977 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.586e-05/0.02248, allocations: 12.03 kB / 301.3 MB, free: 8.965 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.02467, allocations: 0.8811 MB / 302.2 MB, free: 8.082 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.0259, allocations: 1.337 MB / 303.6 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.996e-05/0.02598, allocations: 173 kB / 303.7 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.02619, allocations: 232.3 kB / 304 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.02796, allocations: 1.896 MB / 305.9 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.02799, allocations: 3.938 kB / 305.9 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.02813, allocations: 92 kB / 305.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.343e-05/0.02819, allocations: 83.3 kB / 306 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009324/0.02912, allocations: 0.6567 MB / 306.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006814/0.03593, allocations: 7.13 MB / 313.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.0374, allocations: 1.08 MB / 314.9 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.03767, allocations: 282.4 kB / 315.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001918/0.03959, allocations: 1.852 MB / 317 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.03962, allocations: 49.66 kB / 317.1 MB, free: 8.645 MB / 298.7 MB Notification: Performance of pre-optimization done (n=92): time 1.673e-06/0.03962, allocations: 0 / 317.1 MB, free: 8.645 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.002571/0.04219, allocations: 1.694 MB / 318.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.04223, allocations: 115.3 kB / 318.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008928/0.04312, allocations: 1.309 MB / 320.2 MB, free: 5.426 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.04317, allocations: 45.7 kB / 320.2 MB, free: 5.375 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005477/0.04371, allocations: 1.269 MB / 321.5 MB, free: 4.094 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.04391, allocations: 388.8 kB / 321.9 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.04414, allocations: 276.4 kB / 322.1 MB, free: 3.434 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.04428, allocations: 0.5628 MB / 322.7 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.04446, allocations: 126.5 kB / 322.8 MB, free: 2.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006524/0.04511, allocations: 0.6857 MB / 323.5 MB, free: 1.828 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/0.04581, allocations: 0.9169 MB / 324.4 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.04581, allocations: 8 kB / 324.4 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001045/0.04686, allocations: 0.9722 MB / 325.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.04687, allocations: 12 kB / 325.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.04688, allocations: 12 kB / 325.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.04707, allocations: 95.3 kB / 325.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/0.04768, allocations: 319.6 kB / 325.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.04923, allocations: 3.724 MB / 329.6 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/0.04961, allocations: 71.72 kB / 329.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.04966, allocations: 43.98 kB / 329.7 MB, free: 11.2 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005352/0.0502, allocations: 240.1 kB / 329.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.05038, allocations: 191.1 kB / 330.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008546/0.05124, allocations: 0.7276 MB / 330.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.05124, allocations: 11.94 kB / 330.8 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.05125, allocations: 4 kB / 330.8 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.05125, allocations: 7.984 kB / 330.9 MB, free: 9.992 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.05267, allocations: 1.433 MB / 332.3 MB, free: 8.508 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.05267, allocations: 8.094 kB / 332.3 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/0.05307, allocations: 171.8 kB / 332.5 MB, free: 8.332 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003775/0.05344, allocations: 225.5 kB / 332.7 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.967e-05/0.05349, allocations: 35.97 kB / 332.7 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00308/0.05657, allocations: 6.3 MB / 339 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.05657, allocations: 0 / 339 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.05776, allocations: 1.327 MB / 340.3 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.05791, allocations: 167.1 kB / 340.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.05802, allocations: 32.02 kB / 340.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.05839, allocations: 55.97 kB / 340.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.0585, allocations: 95.95 kB / 340.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.05854, allocations: 27.98 kB / 340.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004691/0.05901, allocations: 0.6892 MB / 341.4 MB, free: 14.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05901, allocations: 0 / 341.4 MB, free: 14.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007679/0.05978, allocations: 448 kB / 341.8 MB, free: 14.55 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001955/0.05997, allocations: 163.1 kB / 342 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009015/0.06087, allocations: 0.9666 MB / 343 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.06088, allocations: 0 / 343 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006723/0.06155, allocations: 0.9317 MB / 343.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.06257, allocations: 275.5 kB / 344.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.06613, allocations: 3.874 MB / 348 MB, free: 8.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.06661, allocations: 0.7332 MB / 348.8 MB, free: 7.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003864/0.06699, allocations: 191.5 kB / 349 MB, free: 7.219 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004993/0.06749, allocations: 374 kB / 349.3 MB, free: 6.852 MB / 330.7 MB Notification: Performance of SimCode: time 8.91e-07/0.06749, allocations: 0 / 349.3 MB, free: 6.852 MB / 330.7 MB Notification: Performance of Templates: time 0.1246/0.1921, allocations: 20.95 MB / 370.3 MB, free: 70.59 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2215276332572103]