Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009549/0.0009549, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 161.3 kB / 24.99 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9266/0.9266, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 273.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.625e-05, allocations: 6.312 kB / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007629/0.007655, allocations: 6.496 MB / 279.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003694/0.01135, allocations: 2.23 MB / 281.8 MB, free: 9.074 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00049/0.01184, allocations: 55.62 kB / 281.8 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007839/0.01262, allocations: 385.3 kB / 282.2 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.01447, allocations: 0.8621 MB / 283.1 MB, free: 7.773 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006538/0.01512, allocations: 359.2 kB / 283.4 MB, free: 7.422 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002633/0.01776, allocations: 3.303 MB / 286.7 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009318/0.01869, allocations: 1.082 MB / 287.8 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.02017, allocations: 1.891 MB / 289.7 MB, free: 1.078 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1067/0.1269, allocations: 1.601 MB / 291.3 MB, free: 16.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008024/0.1277, allocations: 294.5 kB / 291.6 MB, free: 16.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.1287, allocations: 418 kB / 292 MB, free: 16.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006254/0.1294, allocations: 0.9 MB / 292.9 MB, free: 16.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001697/0.1311, allocations: 1.015 MB / 293.9 MB, free: 16.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00281/0.1339, allocations: 2.586 MB / 296.5 MB, free: 16.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1339, allocations: 0.5312 kB / 296.5 MB, free: 16.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1339, allocations: 0.5938 kB / 296.5 MB, free: 16.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001096/0.134, allocations: 0 / 296.5 MB, free: 16.25 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.005597/0.1396, allocations: 3.699 MB / 300.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1396, allocations: 10.12 kB / 300.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002754/0.1424, allocations: 1.039 MB / 301.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.1441, allocations: 1.494 MB / 302.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.012e-05/0.1442, allocations: 170.9 kB / 302.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002452/0.1444, allocations: 228.2 kB / 303.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.1468, allocations: 2.028 MB / 305.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.1468, allocations: 0 / 305.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.147, allocations: 103.7 kB / 305.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.996e-05/0.147, allocations: 70.88 kB / 305.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.1484, allocations: 0.8515 MB / 306.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006349/0.1548, allocations: 7.231 MB / 313.4 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.1564, allocations: 1.269 MB / 314.7 MB, free: 6.914 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.1568, allocations: 320.1 kB / 315 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/0.1584, allocations: 1.921 MB / 316.9 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1585, allocations: 49.72 kB / 317 MB, free: 4.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=92): time 2.124e-06/0.1585, allocations: 0 / 317 MB, free: 4.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003331/0.1618, allocations: 2.77 MB / 319.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.1618, allocations: 115.3 kB / 319.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009763/0.1628, allocations: 1.341 MB / 321.2 MB, free: 324 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.1628, allocations: 49.7 kB / 321.2 MB, free: 268 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005716/0.1634, allocations: 1.255 MB / 322.5 MB, free: 15.01 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.1636, allocations: 386.9 kB / 322.9 MB, free: 14.63 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.1639, allocations: 268.5 kB / 323.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.164, allocations: 0.5628 MB / 323.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.1643, allocations: 166.5 kB / 323.9 MB, free: 13.63 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005538/0.1649, allocations: 0.7199 MB / 324.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009448/0.1658, allocations: 0.9789 MB / 325.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.1658, allocations: 4 kB / 325.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001336/0.1672, allocations: 1.064 MB / 326.6 MB, free: 10.56 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1672, allocations: 12.03 kB / 326.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.1672, allocations: 12 kB / 326.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002486/0.1675, allocations: 101.9 kB / 326.7 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/0.1681, allocations: 329.5 kB / 327.1 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.1699, allocations: 3.792 MB / 330.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/0.1704, allocations: 95.67 kB / 331 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.484e-05/0.1704, allocations: 55.98 kB / 331 MB, free: 5.969 MB / 282.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.0004267/0.1708, allocations: 239.1 kB / 331.2 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.171, allocations: 190.9 kB / 331.4 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.1721, allocations: 0.7693 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.1721, allocations: 8 kB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1721, allocations: 8 kB / 332.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.1721, allocations: 7.969 kB / 332.2 MB, free: 4.754 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.1741, allocations: 1.943 MB / 334.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1741, allocations: 0 / 334.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/0.1745, allocations: 179.5 kB / 334.3 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/0.175, allocations: 234.7 kB / 334.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.818e-05/0.175, allocations: 35.97 kB / 334.6 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003352/0.1784, allocations: 6.441 MB / 341 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1784, allocations: 8.031 kB / 341.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.1799, allocations: 1.416 MB / 342.5 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.1801, allocations: 174.8 kB / 342.6 MB, free: 9.934 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.1802, allocations: 31.92 kB / 342.7 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.1806, allocations: 79.92 kB / 342.8 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.1808, allocations: 111.8 kB / 342.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/0.1808, allocations: 27.98 kB / 342.9 MB, free: 9.691 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000747/0.1816, allocations: 0.7558 MB / 343.6 MB, free: 8.934 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1816, allocations: 4 kB / 343.6 MB, free: 8.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001086/0.1827, allocations: 451.9 kB / 344.1 MB, free: 8.488 MB / 298.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.0002481/0.1829, allocations: 155.4 kB / 344.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.1841, allocations: 1.031 MB / 345.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1841, allocations: 0 / 345.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008008/0.1849, allocations: 0.9601 MB / 346.2 MB, free: 6.316 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008864/0.1858, allocations: 279.2 kB / 346.5 MB, free: 6.047 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004981/0.1908, allocations: 3.896 MB / 350.4 MB, free: 2.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.1913, allocations: 0.7254 MB / 351.1 MB, free: 1.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006318/0.1919, allocations: 355.2 kB / 351.5 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.1921, allocations: 111.8 kB / 351.6 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1921, allocations: 0 / 351.6 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of Templates: time 0.02437/0.2165, allocations: 19.3 MB / 370.9 MB, free: 13.93 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.3228153528179973]