Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.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.001409/0.001409, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001634/0.001634, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9743/0.9743, allocations: 177 MB / 204.8 MB, free: 5.578 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.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.935e-05, allocations: 5.266 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.01267/0.0127, allocations: 6.118 MB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00642/0.01912, allocations: 1.698 MB / 280.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003898/0.02302, allocations: 55.69 kB / 280.8 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006785/0.0237, allocations: 313.4 kB / 281.1 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.02509, allocations: 460.6 kB / 281.5 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007764/0.02587, allocations: 351.5 kB / 281.9 MB, free: 8.434 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.02759, allocations: 2.237 MB / 284.1 MB, free: 6.188 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.02881, allocations: 1.36 MB / 285.5 MB, free: 4.766 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.03031, allocations: 1.606 MB / 287.1 MB, free: 3.156 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.03153, allocations: 1.173 MB / 288.3 MB, free: 1.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003458/0.03188, allocations: 292 kB / 288.5 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005505/0.03243, allocations: 403.7 kB / 288.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004363/0.03287, allocations: 0.744 MB / 289.7 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1124/0.1453, allocations: 0.8637 MB / 290.5 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.148, allocations: 2.049 MB / 292.6 MB, free: 17.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.148, allocations: 1.188 kB / 292.6 MB, free: 17.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.148, allocations: 0.7969 kB / 292.6 MB, free: 17.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001034/0.1481, allocations: 0 / 292.6 MB, free: 17.85 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.004415/0.1526, allocations: 2.624 MB / 295.2 MB, free: 16.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.1526, allocations: 15.64 kB / 295.2 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008082/0.1534, allocations: 429.8 kB / 295.7 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.155, allocations: 1.145 MB / 296.8 MB, free: 16.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.6e-05/0.1551, allocations: 159.9 kB / 297 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.1553, allocations: 201.2 kB / 297.2 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.1579, allocations: 1.586 MB / 298.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.158, allocations: 1.859 kB / 298.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.1581, allocations: 91.59 kB / 298.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-05/0.1582, allocations: 77.16 kB / 298.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.1596, allocations: 0.691 MB / 299.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006619/0.1662, allocations: 6.096 MB / 305.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008888/0.1671, allocations: 0.8318 MB / 306.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006689/0.1678, allocations: 0.4914 MB / 307 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.1678, allocations: 21.94 kB / 307 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1679, allocations: 40.83 kB / 307.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.937e-06/0.1679, allocations: 0 / 307.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.003644/0.1715, allocations: 2.326 MB / 309.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.1715, allocations: 62.5 kB / 309.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006225/0.1722, allocations: 0.7649 MB / 310.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.1722, allocations: 44.48 kB / 310.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/0.1725, allocations: 0.9295 MB / 311.2 MB, free: 9.516 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.1726, allocations: 347.3 kB / 311.5 MB, free: 9.227 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.1728, allocations: 188.4 kB / 311.7 MB, free: 9.105 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.23e-05/0.1729, allocations: 0.5297 MB / 312.3 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.1731, allocations: 155.7 kB / 312.4 MB, free: 8.539 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.1734, allocations: 419.8 kB / 312.8 MB, free: 8.184 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005374/0.174, allocations: 0.619 MB / 313.4 MB, free: 7.609 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.174, allocations: 3.312 kB / 313.4 MB, free: 7.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0009592/0.1749, allocations: 0.8808 MB / 314.3 MB, free: 6.746 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1749, allocations: 4.625 kB / 314.3 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.175, allocations: 8 kB / 314.3 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000486/0.1754, allocations: 256.7 kB / 314.6 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.1758, allocations: 169.4 kB / 314.7 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004071/0.1799, allocations: 9.2 MB / 323.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.1802, allocations: 39.97 kB / 324 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/0.1803, allocations: 36 kB / 324 MB, free: 12.65 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.0004553/0.1807, allocations: 217.3 kB / 324.2 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.1809, allocations: 135.3 kB / 324.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.181, allocations: 129.8 kB / 324.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.181, allocations: 12 kB / 324.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.181, allocations: 0 / 324.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.181, allocations: 3.984 kB / 324.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002684/0.1837, allocations: 2.324 MB / 326.8 MB, free: 9.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1837, allocations: 0 / 326.8 MB, free: 9.789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/0.184, allocations: 126.9 kB / 327 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004348/0.1845, allocations: 262.1 kB / 327.2 MB, free: 9.406 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.1845, allocations: 23.47 kB / 327.2 MB, free: 9.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004525/0.189, allocations: 9.133 MB / 336.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.189, allocations: 0 / 336.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.1905, allocations: 1.147 MB / 337.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/0.1908, allocations: 187.2 kB / 337.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.676e-05/0.1909, allocations: 27.11 kB / 337.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.1911, allocations: 35.97 kB / 337.8 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.1912, allocations: 104.8 kB / 337.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.1913, allocations: 23.98 kB / 337.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004882/0.1918, allocations: 474.9 kB / 338.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1918, allocations: 4 kB / 338.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001134/0.1929, allocations: 379.9 kB / 338.7 MB, free: 13.46 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.0002321/0.1931, allocations: 148.5 kB / 338.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.1946, allocations: 1.406 MB / 340.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1946, allocations: 0 / 340.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000791/0.1954, allocations: 1.151 MB / 341.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000751/0.1961, allocations: 300.4 kB / 341.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/0.2009, allocations: 3.152 MB / 344.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.2013, allocations: 0.5376 MB / 345.4 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003304/0.2017, allocations: 148.7 kB / 345.6 MB, free: 6.449 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.2018, allocations: 64.5 kB / 345.6 MB, free: 6.387 MB / 298.7 MB Notification: Performance of SimCode: time 1.643e-06/0.2018, allocations: 0 / 345.6 MB, free: 6.387 MB / 298.7 MB Notification: Performance of Templates: time 0.0256/0.2274, allocations: 21 MB / 366.6 MB, free: 1.754 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.525721369776875]