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.0009279/0.0009279, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0008951/0.0008951, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9255/0.9255, allocations: 177.1 MB / 205 MB, free: 5.648 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 2.234e-06/2.234e-06, allocations: 0 / 273 MB, free: 1.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.096e-05, allocations: 2.312 kB / 273 MB, free: 1.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.005632/0.005653, allocations: 6.102 MB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003353/0.009006, allocations: 1.686 MB / 280.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006419/0.009647, allocations: 55.62 kB / 280.8 MB, free: 9.688 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.01012, allocations: 309.5 kB / 281.1 MB, free: 9.383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.01125, allocations: 456.6 kB / 281.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.01183, allocations: 367.4 kB / 281.9 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.01356, allocations: 2.206 MB / 284.1 MB, free: 6.359 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.015, allocations: 1.356 MB / 285.5 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.01659, allocations: 1.595 MB / 287.1 MB, free: 3.344 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.01788, allocations: 1.154 MB / 288.2 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003767/0.01825, allocations: 296 kB / 288.5 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004834/0.01874, allocations: 415.6 kB / 288.9 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004268/0.01916, allocations: 0.7362 MB / 289.7 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1081/0.1272, allocations: 0.8596 MB / 290.5 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.1297, allocations: 2.036 MB / 292.6 MB, free: 18.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1297, allocations: 0 / 292.6 MB, free: 18.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1297, allocations: 1.125 kB / 292.6 MB, free: 18.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.433e-05/0.1298, allocations: 0 / 292.6 MB, free: 18.47 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.003363/0.1331, allocations: 2.624 MB / 295.2 MB, free: 17.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1332, allocations: 10.66 kB / 295.2 MB, free: 17.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007188/0.1339, allocations: 432.5 kB / 295.6 MB, free: 17.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.1352, allocations: 1.148 MB / 296.8 MB, free: 16.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.509e-05/0.1353, allocations: 153.1 kB / 296.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.1355, allocations: 203.4 kB / 297.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/0.138, allocations: 1.583 MB / 298.7 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.1381, allocations: 1.125 kB / 298.7 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.1382, allocations: 88.72 kB / 298.8 MB, free: 16.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.458e-05/0.1383, allocations: 54.36 kB / 298.8 MB, free: 16.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.1397, allocations: 0.6909 MB / 299.5 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005326/0.145, allocations: 6.09 MB / 305.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/0.1458, allocations: 0.8311 MB / 306.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006017/0.1464, allocations: 494 kB / 306.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.1464, allocations: 19.09 kB / 306.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.1464, allocations: 45.92 kB / 307 MB, free: 12.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.575e-06/0.1464, allocations: 0 / 307 MB, free: 12.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.003156/0.1496, allocations: 2.328 MB / 309.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.1496, allocations: 63.31 kB / 309.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00052/0.1501, allocations: 0.7658 MB / 310.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.1502, allocations: 40.77 kB / 310.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.1504, allocations: 0.9216 MB / 311.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.1506, allocations: 347.5 kB / 311.5 MB, free: 9.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.1507, allocations: 196.7 kB / 311.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.886e-05/0.1508, allocations: 0.5285 MB / 312.2 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.151, allocations: 153.2 kB / 312.3 MB, free: 9.234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.1513, allocations: 420.1 kB / 312.7 MB, free: 8.883 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/0.1518, allocations: 0.6113 MB / 313.3 MB, free: 8.457 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1518, allocations: 0 / 313.3 MB, free: 8.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0009329/0.1528, allocations: 0.8816 MB / 314.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1528, allocations: 8 kB / 314.2 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.1528, allocations: 4 kB / 314.2 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/0.1532, allocations: 261.3 kB / 314.5 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.1536, allocations: 174 kB / 314.7 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004076/0.1576, allocations: 9.201 MB / 323.9 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.158, allocations: 45.39 kB / 323.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.158, allocations: 34.84 kB / 323.9 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.0002845/0.1583, allocations: 221 kB / 324.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.1584, allocations: 131.3 kB / 324.3 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.1586, allocations: 125.8 kB / 324.4 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.1586, allocations: 15.94 kB / 324.4 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.1586, allocations: 0 / 324.4 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.1586, allocations: 11.97 kB / 324.4 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002597/0.1612, allocations: 2.326 MB / 326.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1612, allocations: 0 / 326.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.1615, allocations: 122.6 kB / 326.9 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004319/0.1619, allocations: 258 kB / 327.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.1619, allocations: 23.98 kB / 327.2 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004448/0.1664, allocations: 9.115 MB / 336.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.1664, allocations: 11.31 kB / 336.3 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.1677, allocations: 1.156 MB / 337.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.1679, allocations: 191.2 kB / 337.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.168, allocations: 18.84 kB / 337.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.1682, allocations: 39.95 kB / 337.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.1683, allocations: 103.2 kB / 337.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.1684, allocations: 20 kB / 337.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003726/0.1687, allocations: 482.8 kB / 338.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1687, allocations: 4 kB / 338.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008681/0.1696, allocations: 379.9 kB / 338.6 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.0004607/0.1701, allocations: 142.3 kB / 338.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.1713, allocations: 1.41 MB / 340.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1713, allocations: 0 / 340.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007899/0.1721, allocations: 1.153 MB / 341.4 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007117/0.1728, allocations: 284.5 kB / 341.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.1763, allocations: 3.158 MB / 344.8 MB, free: 8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.1766, allocations: 0.5337 MB / 345.3 MB, free: 7.441 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000267/0.1769, allocations: 144.7 kB / 345.5 MB, free: 7.297 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.177, allocations: 64.5 kB / 345.5 MB, free: 7.234 MB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/0.177, allocations: 8 kB / 345.5 MB, free: 7.227 MB / 298.7 MB Notification: Performance of Templates: time 0.02318/0.2002, allocations: 20.99 MB / 366.5 MB, free: 2.602 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.409045396838337]