Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.001142/0.001142, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001355/0.001355, allocations: 174 kB / 24.91 MB, free: 8.77 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 1.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.573e-05/3.765e-05, allocations: 6.25 kB / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007696/0.007734, allocations: 6.015 MB / 279.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004938/0.01267, allocations: 1.763 MB / 281.3 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.01399, allocations: 55.69 kB / 281.3 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007446/0.01474, allocations: 313.4 kB / 281.6 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.01643, allocations: 456.6 kB / 282.1 MB, free: 8.621 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008242/0.01725, allocations: 351.5 kB / 282.4 MB, free: 8.277 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002246/0.0195, allocations: 2.218 MB / 284.6 MB, free: 6.051 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.02079, allocations: 1.395 MB / 286 MB, free: 4.574 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.0226, allocations: 1.591 MB / 287.6 MB, free: 2.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.02391, allocations: 1.169 MB / 288.8 MB, free: 1.809 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003615/0.02427, allocations: 288 kB / 289.1 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000557/0.02483, allocations: 411.7 kB / 289.5 MB, free: 1.125 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004554/0.02528, allocations: 0.7324 MB / 290.2 MB, free: 400 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1253/0.1505, allocations: 0.8608 MB / 291.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002723/0.1533, allocations: 2.044 MB / 293.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1533, allocations: 2.188 kB / 293.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1533, allocations: 0 / 293.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001071/0.1534, allocations: 0 / 293.1 MB, free: 18.12 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.003501/0.1569, allocations: 2.322 MB / 295.4 MB, free: 17.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1569, allocations: 9.25 kB / 295.4 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006252/0.1575, allocations: 347.2 kB / 295.8 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.1587, allocations: 0.7841 MB / 296.6 MB, free: 16.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-05/0.1588, allocations: 157.7 kB / 296.7 MB, free: 16.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.159, allocations: 200 kB / 296.9 MB, free: 16.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.1611, allocations: 1.487 MB / 298.4 MB, free: 16.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.1611, allocations: 1.094 kB / 298.4 MB, free: 16.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.1612, allocations: 86.62 kB / 298.5 MB, free: 16.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.947e-05/0.1613, allocations: 53.16 kB / 298.5 MB, free: 16.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009874/0.1623, allocations: 0.5501 MB / 299.1 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004933/0.1672, allocations: 4.4 MB / 303.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006173/0.1678, allocations: 0.7309 MB / 304.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004219/0.1682, allocations: 419.6 kB / 304.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.1683, allocations: 18.16 kB / 304.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.1683, allocations: 40.69 kB / 304.7 MB, free: 14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.487e-06/0.1683, allocations: 0 / 304.7 MB, free: 14 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.002335/0.1706, allocations: 1.606 MB / 306.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.1707, allocations: 64.03 kB / 306.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.1711, allocations: 0.6055 MB / 307 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.1711, allocations: 44.05 kB / 307 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.1713, allocations: 0.7517 MB / 307.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.1714, allocations: 344.7 kB / 308.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.1716, allocations: 167 kB / 308.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.935e-05/0.1716, allocations: 344.8 kB / 308.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1717, allocations: 116.2 kB / 308.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.1719, allocations: 286.2 kB / 309 MB, free: 11.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.1723, allocations: 0.4957 MB / 309.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1723, allocations: 3.156 kB / 309.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0006376/0.1729, allocations: 0.6297 MB / 310.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1729, allocations: 13.66 kB / 310.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.1729, allocations: 3.406 kB / 310.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003826/0.1733, allocations: 217.7 kB / 310.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.1737, allocations: 175 kB / 310.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.1763, allocations: 6.493 MB / 317 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.1765, allocations: 32 kB / 317 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.1766, allocations: 24 kB / 317.1 MB, free: 4.906 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003761/0.177, allocations: 177.6 kB / 317.2 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.1771, allocations: 91.84 kB / 317.3 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.515e-05/0.1772, allocations: 121.9 kB / 317.4 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.1772, allocations: 12 kB / 317.5 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.1772, allocations: 7.984 kB / 317.5 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1772, allocations: 3.984 kB / 317.5 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.179, allocations: 1.571 MB / 319 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1791, allocations: 0 / 319 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.1794, allocations: 137.3 kB / 319.2 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00033/0.1797, allocations: 221.5 kB / 319.4 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.1797, allocations: 24 kB / 319.4 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003008/0.1827, allocations: 6.479 MB / 325.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1827, allocations: 0 / 325.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009303/0.1837, allocations: 0.8837 MB / 326.8 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.1838, allocations: 119.3 kB / 326.9 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.008e-05/0.1839, allocations: 23.98 kB / 326.9 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.1841, allocations: 24 kB / 326.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.1842, allocations: 80.41 kB / 327 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.1843, allocations: 16 kB / 327 MB, free: 10.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002213/0.1845, allocations: 299 kB / 327.3 MB, free: 10.54 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1845, allocations: 0 / 327.3 MB, free: 10.54 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001024/0.1855, allocations: 383.8 kB / 327.7 MB, free: 10.17 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002111/0.1857, allocations: 139.2 kB / 327.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009595/0.1867, allocations: 1.063 MB / 328.9 MB, free: 8.961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.1867, allocations: 8 kB / 328.9 MB, free: 8.953 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006572/0.1873, allocations: 0.8641 MB / 329.8 MB, free: 8.062 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006504/0.188, allocations: 294.1 kB / 330.1 MB, free: 7.781 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.1917, allocations: 3.054 MB / 333.1 MB, free: 4.707 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.192, allocations: 450.6 kB / 333.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002555/0.1923, allocations: 116.7 kB / 333.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004247/0.1927, allocations: 292 kB / 333.9 MB, free: 3.84 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1927, allocations: 0 / 333.9 MB, free: 3.84 MB / 282.7 MB Notification: Performance of Templates: time 0.026/0.2187, allocations: 21.32 MB / 355.3 MB, free: 14.94 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.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.3700738521292806]