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.001022/0.001022, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001811/0.001811, allocations: 164.9 kB / 24.82 MB, free: 9.277 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.034/1.034, allocations: 177 MB / 205.1 MB, free: 5.48 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.903e-06/1.903e-06, allocations: 0 / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.729e-05/3.919e-05, allocations: 5.266 kB / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.005719/0.005758, allocations: 5.97 MB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00343/0.009188, allocations: 1.702 MB / 281 MB, free: 9.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006605/0.009849, allocations: 59.62 kB / 281 MB, free: 9.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005289/0.01038, allocations: 305.5 kB / 281.3 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.01152, allocations: 464.5 kB / 281.8 MB, free: 8.703 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.0121, allocations: 355.5 kB / 282.1 MB, free: 8.355 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001706/0.0138, allocations: 2.233 MB / 284.4 MB, free: 6.113 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.01545, allocations: 1.364 MB / 285.7 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.01735, allocations: 1.599 MB / 287.3 MB, free: 3.086 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.01892, allocations: 1.177 MB / 288.5 MB, free: 1.906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000678/0.0196, allocations: 288 kB / 288.8 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006858/0.02029, allocations: 411.6 kB / 289.2 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005144/0.0208, allocations: 0.744 MB / 289.9 MB, free: 488 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1127/0.1335, allocations: 0.862 MB / 290.8 MB, free: 18.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002441/0.1359, allocations: 2.047 MB / 292.9 MB, free: 17.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1359, allocations: 0.6875 kB / 292.9 MB, free: 17.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1359, allocations: 1 kB / 292.9 MB, free: 17.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.362e-05/0.136, allocations: 0.5938 kB / 292.9 MB, free: 17.98 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.00404/0.1401, allocations: 2.566 MB / 295.4 MB, free: 16.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.1401, allocations: 13.86 kB / 295.4 MB, free: 16.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007415/0.1409, allocations: 431.4 kB / 295.9 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.1422, allocations: 1.086 MB / 296.9 MB, free: 16.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.703e-05/0.1423, allocations: 154.9 kB / 297.1 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/0.1425, allocations: 203.4 kB / 297.3 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.1446, allocations: 1.458 MB / 298.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/0.1447, allocations: 1.906 kB / 298.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.1448, allocations: 90.88 kB / 298.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.1449, allocations: 77.53 kB / 298.9 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.146, allocations: 0.5228 MB / 299.4 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005992/0.152, allocations: 5.665 MB / 305.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007538/0.1527, allocations: 0.7561 MB / 305.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004908/0.1532, allocations: 445.1 kB / 306.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.1532, allocations: 16.16 kB / 306.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.1533, allocations: 48.45 kB / 306.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.936e-06/0.1533, allocations: 3.906 kB / 306.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.002744/0.156, allocations: 1.785 MB / 308.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.156, allocations: 63.78 kB / 308.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/0.1566, allocations: 0.7435 MB / 309 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.1566, allocations: 41.2 kB / 309 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.1569, allocations: 0.9376 MB / 309.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.1571, allocations: 358.6 kB / 310.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.1572, allocations: 191.3 kB / 310.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.51e-05/0.1573, allocations: 0.5331 MB / 311 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1575, allocations: 112.5 kB / 311.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.1577, allocations: 381.3 kB / 311.5 MB, free: 9.586 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/0.1581, allocations: 0.5462 MB / 312 MB, free: 9.207 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1581, allocations: 6.938 kB / 312 MB, free: 9.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.000801/0.1589, allocations: 0.7914 MB / 312.8 MB, free: 8.875 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1589, allocations: 7.375 kB / 312.8 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.1589, allocations: 6.719 kB / 312.8 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004287/0.1594, allocations: 238.8 kB / 313.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.1597, allocations: 165.3 kB / 313.2 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003287/0.163, allocations: 8.974 MB / 322.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/0.1633, allocations: 32.06 kB / 322.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/0.1634, allocations: 32.11 kB / 322.3 MB, free: 15.29 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.0005475/0.1639, allocations: 217.6 kB / 322.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.1641, allocations: 127.4 kB / 322.6 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.1642, allocations: 129.8 kB / 322.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.1642, allocations: 8 kB / 322.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.1642, allocations: 4 kB / 322.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.1642, allocations: 7.984 kB / 322.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002545/0.1668, allocations: 1.867 MB / 324.6 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1668, allocations: 0 / 324.6 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.167, allocations: 114.8 kB / 324.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004092/0.1675, allocations: 239.5 kB / 325 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.1675, allocations: 23.56 kB / 325 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004536/0.172, allocations: 8.907 MB / 333.9 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.172, allocations: 4 kB / 333.9 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.1734, allocations: 1.028 MB / 334.9 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.1737, allocations: 171.2 kB / 335.1 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.1737, allocations: 16.12 kB / 335.1 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.174, allocations: 27.98 kB / 335.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.1741, allocations: 80.8 kB / 335.2 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.1741, allocations: 19.98 kB / 335.2 MB, free: 2.105 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003823/0.1745, allocations: 442.1 kB / 335.7 MB, free: 1.715 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1745, allocations: 4 kB / 335.7 MB, free: 1.711 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001355/0.1759, allocations: 383.9 kB / 336.1 MB, free: 1.336 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.0002339/0.1761, allocations: 149.5 kB / 336.2 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.1774, allocations: 1.328 MB / 337.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1774, allocations: 0 / 337.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007798/0.1782, allocations: 1.128 MB / 338.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000761/0.179, allocations: 290.5 kB / 338.9 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.1834, allocations: 3.143 MB / 342.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.1839, allocations: 0.5298 MB / 342.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002933/0.1842, allocations: 111.6 kB / 342.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004472/0.1846, allocations: 338 kB / 343.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1846, allocations: 0 / 343.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of Templates: time 0.02779/0.2124, allocations: 21.31 MB / 364.4 MB, free: 5.316 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.413437836803496]