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.001089/0.001089, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001413/0.001413, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 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 1.008/1.008, allocations: 177 MB / 205.2 MB, free: 5.527 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.362e-06/1.362e-06, allocations: 0 / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.615e-05, allocations: 5.406 kB / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.005082/0.005098, allocations: 6.095 MB / 279.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.00781, allocations: 1.686 MB / 280.8 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004078/0.008218, allocations: 59.62 kB / 280.8 MB, free: 9.836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004387/0.008656, allocations: 309.5 kB / 281.1 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009001/0.009556, allocations: 464.6 kB / 281.6 MB, free: 9.074 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.01001, allocations: 355.4 kB / 281.9 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.0114, allocations: 2.233 MB / 284.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.01261, allocations: 1.36 MB / 285.5 MB, free: 5.062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.01374, allocations: 1.603 MB / 287.1 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009968/0.01474, allocations: 1.173 MB / 288.3 MB, free: 2.281 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.01498, allocations: 292 kB / 288.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.01539, allocations: 407.7 kB / 289 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004191/0.01581, allocations: 0.744 MB / 289.7 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1227/0.1385, allocations: 0.8726 MB / 290.6 MB, free: 18.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.1414, allocations: 2.049 MB / 292.6 MB, free: 18.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1414, allocations: 0 / 292.6 MB, free: 18.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1414, allocations: 1.719 kB / 292.6 MB, free: 18.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.411e-05/0.1415, allocations: 0 / 292.6 MB, free: 18.39 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.0035/0.145, allocations: 2.629 MB / 295.3 MB, free: 17.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.145, allocations: 12.48 kB / 295.3 MB, free: 17.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007815/0.1458, allocations: 433.3 kB / 295.7 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.1473, allocations: 1.176 MB / 296.9 MB, free: 16.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.1474, allocations: 155.2 kB / 297 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002525/0.1477, allocations: 203.5 kB / 297.2 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/0.1503, allocations: 1.587 MB / 298.8 MB, free: 16.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/0.1504, allocations: 0 / 298.8 MB, free: 16.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.1505, allocations: 89.19 kB / 298.9 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.1506, allocations: 82.47 kB / 299 MB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.1522, allocations: 0.6877 MB / 299.7 MB, free: 16.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006069/0.1583, allocations: 6.105 MB / 305.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008508/0.1591, allocations: 0.8296 MB / 306.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006075/0.1598, allocations: 487.9 kB / 307.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.1598, allocations: 19.62 kB / 307.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1598, allocations: 53.92 kB / 307.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.355e-06/0.1598, allocations: 0 / 307.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.003299/0.1631, allocations: 2.325 MB / 309.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.1631, allocations: 69.73 kB / 309.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005787/0.1637, allocations: 0.7672 MB / 310.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.1638, allocations: 41.17 kB / 310.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.164, allocations: 0.9255 MB / 311.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.1642, allocations: 347.1 kB / 311.6 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.1644, allocations: 192.5 kB / 311.8 MB, free: 9.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.1644, allocations: 0.5282 MB / 312.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.1647, allocations: 152 kB / 312.5 MB, free: 9.145 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.165, allocations: 415.6 kB / 312.9 MB, free: 8.797 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006067/0.1656, allocations: 0.6178 MB / 313.5 MB, free: 8.363 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1656, allocations: 0 / 313.5 MB, free: 8.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001054/0.1667, allocations: 0.8879 MB / 314.4 MB, free: 7.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.1667, allocations: 8.625 kB / 314.4 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.1667, allocations: 4 kB / 314.4 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005217/0.1672, allocations: 257.6 kB / 314.7 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.1676, allocations: 170.2 kB / 314.8 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004003/0.1716, allocations: 9.192 MB / 324 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.1718, allocations: 48.81 kB / 324.1 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/0.1719, allocations: 36 kB / 324.1 MB, free: 13.4 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.0003393/0.1722, allocations: 215.2 kB / 324.3 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.1724, allocations: 135.3 kB / 324.4 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.1725, allocations: 133.8 kB / 324.6 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.1725, allocations: 12 kB / 324.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.1726, allocations: 0 / 324.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.1726, allocations: 3.984 kB / 324.6 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/0.1754, allocations: 2.32 MB / 326.9 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1754, allocations: 0 / 326.9 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.1757, allocations: 127.1 kB / 327 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/0.1761, allocations: 253.2 kB / 327.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.1762, allocations: 27.98 kB / 327.3 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004712/0.1809, allocations: 9.127 MB / 336.4 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1809, allocations: 0 / 336.4 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.1823, allocations: 1.157 MB / 337.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.1826, allocations: 194 kB / 337.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.338e-05/0.1827, allocations: 16.03 kB / 337.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.1829, allocations: 48.08 kB / 337.9 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.183, allocations: 100.8 kB / 337.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.1831, allocations: 28 kB / 338 MB, free: 15.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004192/0.1835, allocations: 482.9 kB / 338.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1835, allocations: 0 / 338.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001139/0.1846, allocations: 376 kB / 338.8 MB, free: 14.21 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.0002354/0.1849, allocations: 145.2 kB / 339 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.1862, allocations: 1.404 MB / 340.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1862, allocations: 0 / 340.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008324/0.1871, allocations: 1.156 MB / 341.5 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007588/0.1878, allocations: 291.1 kB / 341.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.1915, allocations: 3.175 MB / 345 MB, free: 7.906 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.1919, allocations: 0.5259 MB / 345.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002625/0.1921, allocations: 144.7 kB / 345.6 MB, free: 7.211 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.1923, allocations: 72.48 kB / 345.7 MB, free: 7.141 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1923, allocations: 0 / 345.7 MB, free: 7.141 MB / 298.7 MB Notification: Performance of Templates: time 0.02255/0.2148, allocations: 19.99 MB / 365.7 MB, free: 3.492 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.4606579618994147]