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.001045/0.001045, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001284/0.001284, allocations: 165.9 kB / 24.99 MB, free: 8.336 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.06/1.06, 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.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.894e-06/1.894e-06, allocations: 0 / 273 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.987e-05, allocations: 2.312 kB / 273 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006027/0.006056, allocations: 6.082 MB / 279.1 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.008759, allocations: 1.686 MB / 280.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003774/0.009137, allocations: 59.62 kB / 280.9 MB, free: 9.992 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004113/0.009548, allocations: 305.5 kB / 281.2 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009122/0.01046, allocations: 460.6 kB / 281.6 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.01093, allocations: 359.4 kB / 282 MB, free: 8.887 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.0124, allocations: 2.206 MB / 284.2 MB, free: 6.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.01375, allocations: 1.356 MB / 285.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.01513, allocations: 1.587 MB / 287.1 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.0164, allocations: 1.165 MB / 288.3 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003524/0.01675, allocations: 292 kB / 288.6 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.01719, allocations: 407.6 kB / 289 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004173/0.0176, allocations: 0.7518 MB / 289.7 MB, free: 1.059 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000736/0.01834, allocations: 0.8615 MB / 290.6 MB, free: 200 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1208/0.1391, allocations: 2.035 MB / 292.6 MB, free: 18.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1391, allocations: 2.812 kB / 292.6 MB, free: 18.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1391, allocations: 2.953 kB / 292.6 MB, free: 18.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.346e-05/0.1392, allocations: 1 kB / 292.6 MB, free: 18.41 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.00394/0.1432, allocations: 2.623 MB / 295.2 MB, free: 17.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1432, allocations: 9.062 kB / 295.3 MB, free: 17.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007531/0.144, allocations: 434 kB / 295.7 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.1456, allocations: 1.175 MB / 296.9 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.1457, allocations: 154.5 kB / 297 MB, free: 16.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/0.1459, allocations: 205.1 kB / 297.2 MB, free: 16.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/0.1484, allocations: 1.583 MB / 298.8 MB, free: 16.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/0.1485, allocations: 0.9375 kB / 298.8 MB, free: 16.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.1486, allocations: 88.34 kB / 298.9 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.756e-05/0.1487, allocations: 54.55 kB / 298.9 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.15, allocations: 0.691 MB / 299.6 MB, free: 16.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00605/0.1561, allocations: 6.092 MB / 305.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008822/0.1569, allocations: 0.8319 MB / 306.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006208/0.1576, allocations: 492.7 kB / 307 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.176e-05/0.1576, allocations: 15.34 kB / 307 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1576, allocations: 46.22 kB / 307.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.805e-06/0.1576, allocations: 0 / 307.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.003497/0.1611, allocations: 2.324 MB / 309.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.1612, allocations: 63.23 kB / 309.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006741/0.1618, allocations: 0.7654 MB / 310.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.1619, allocations: 45.95 kB / 310.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.1621, allocations: 0.9178 MB / 311.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.1623, allocations: 354.5 kB / 311.5 MB, free: 9.824 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.1624, allocations: 189 kB / 311.7 MB, free: 9.699 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.468e-05/0.1625, allocations: 0.5309 MB / 312.3 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.1627, allocations: 147.3 kB / 312.4 MB, free: 9.137 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.163, allocations: 421 kB / 312.8 MB, free: 8.785 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006353/0.1637, allocations: 0.6171 MB / 313.4 MB, free: 8.352 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.1637, allocations: 0 / 313.4 MB, free: 8.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001056/0.1647, allocations: 0.8848 MB / 314.3 MB, free: 7.605 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1647, allocations: 8 kB / 314.3 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1647, allocations: 8 kB / 314.3 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004674/0.1652, allocations: 255.3 kB / 314.6 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.1656, allocations: 168.8 kB / 314.7 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003994/0.1696, allocations: 9.192 MB / 323.9 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.1698, allocations: 45.41 kB / 324 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/0.1699, allocations: 39.98 kB / 324 MB, free: 13.49 MB / 282.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.0003363/0.1702, allocations: 221.9 kB / 324.2 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.1704, allocations: 131.3 kB / 324.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.1705, allocations: 133 kB / 324.5 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.1705, allocations: 15.94 kB / 324.5 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1705, allocations: 0 / 324.5 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1705, allocations: 7.734 kB / 324.5 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/0.1733, allocations: 2.318 MB / 326.8 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1733, allocations: 4 kB / 326.8 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.1736, allocations: 120.8 kB / 327 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000443/0.174, allocations: 257.8 kB / 327.2 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.1741, allocations: 19.98 kB / 327.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00492/0.179, allocations: 9.132 MB / 336.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.179, allocations: 3.938 kB / 336.4 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.1804, allocations: 1.155 MB / 337.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/0.1806, allocations: 189.3 kB / 337.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000343/0.181, allocations: 27.98 kB / 337.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.1812, allocations: 35.97 kB / 337.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.1814, allocations: 96.28 kB / 337.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.1814, allocations: 31.98 kB / 337.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003856/0.1818, allocations: 474.9 kB / 338.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1818, allocations: 0 / 338.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001066/0.1828, allocations: 382.9 kB / 338.7 MB, free: 14.29 MB / 298.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.0002042/0.183, allocations: 149.4 kB / 338.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.1843, allocations: 1.399 MB / 340.3 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1843, allocations: 0 / 340.3 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009146/0.1852, allocations: 1.157 MB / 341.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/0.186, allocations: 296.5 kB / 341.7 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004007/0.19, allocations: 3.146 MB / 344.9 MB, free: 8.008 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006178/0.1906, allocations: 0.5329 MB / 345.4 MB, free: 7.453 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002949/0.1909, allocations: 148.7 kB / 345.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.191, allocations: 68.48 kB / 345.6 MB, free: 7.238 MB / 298.7 MB Notification: Performance of SimCode: time 8.81e-07/0.191, allocations: 4 kB / 345.6 MB, free: 7.234 MB / 298.7 MB Notification: Performance of Templates: time 0.02316/0.2142, allocations: 20 MB / 365.6 MB, free: 3.582 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 -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.548954894999042]