Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009447/0.0009447, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009843/0.0009843, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9325/0.9325, allocations: 173.3 MB / 201.1 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 3.938 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.551e-05, allocations: 2.312 kB / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.00535/0.005376, allocations: 6.1 MB / 274.1 MB, free: 320 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0041/0.009475, allocations: 2.075 MB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006201/0.0101, allocations: 23.88 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.01133, allocations: 0.7848 MB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.01272, allocations: 0.7647 MB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008432/0.01356, allocations: 498.5 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.01475, allocations: 1.21 MB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009788/0.01573, allocations: 0.757 MB / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007493/0.01648, allocations: 0.6821 MB / 280.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006299/0.01711, allocations: 418.8 kB / 281.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.01729, allocations: 108 kB / 281.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004942/0.01778, allocations: 263.7 kB / 281.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004157/0.0182, allocations: 251.1 kB / 281.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.0185, allocations: 379 kB / 282.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.01955, allocations: 0.9613 MB / 283.2 MB, free: 7.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.01956, allocations: 3.984 kB / 283.2 MB, free: 7.113 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01956, allocations: 4 kB / 283.2 MB, free: 7.109 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.01958, allocations: 0 / 283.2 MB, free: 7.109 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002204/0.02179, allocations: 1.782 MB / 285 MB, free: 5.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.02183, allocations: 8.922 kB / 285 MB, free: 5.262 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.02312, allocations: 0.492 MB / 285.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005642/0.02368, allocations: 0.49 MB / 286 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/0.02373, allocations: 74.38 kB / 286.1 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.851e-05/0.02383, allocations: 100.4 kB / 286.2 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.02484, allocations: 0.8957 MB / 287.1 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.02486, allocations: 4.141 kB / 287.1 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/0.02492, allocations: 52.11 kB / 287.1 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.02494, allocations: 24 kB / 287.2 MB, free: 3.047 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007236/0.02567, allocations: 455.6 kB / 287.6 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1041/0.1298, allocations: 3.125 MB / 290.7 MB, free: 21.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.131, allocations: 0.7634 MB / 291.5 MB, free: 21.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000448/0.1314, allocations: 294.1 kB / 291.8 MB, free: 21.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.096e-05/0.1315, allocations: 22.66 kB / 291.8 MB, free: 21.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004914/0.132, allocations: 497.8 kB / 292.3 MB, free: 21.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.915e-06/0.132, allocations: 0 / 292.3 MB, free: 21.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.002411/0.1344, allocations: 1.159 MB / 293.4 MB, free: 21.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.1345, allocations: 199.2 kB / 293.6 MB, free: 21.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.1348, allocations: 453.2 kB / 294.1 MB, free: 21.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.1349, allocations: 43.52 kB / 294.1 MB, free: 21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.1351, allocations: 474.3 kB / 294.6 MB, free: 20.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.1352, allocations: 290.7 kB / 294.9 MB, free: 20.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.1354, allocations: 162.3 kB / 295 MB, free: 20.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.1355, allocations: 0.5374 MB / 295.6 MB, free: 20.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.1357, allocations: 133.5 kB / 295.7 MB, free: 20.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.136, allocations: 0.5221 MB / 296.2 MB, free: 19.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/0.1366, allocations: 0.569 MB / 296.8 MB, free: 19.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.1366, allocations: 10.19 kB / 296.8 MB, free: 19.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001041/0.1376, allocations: 0.7677 MB / 297.6 MB, free: 19.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1377, allocations: 8.984 kB / 297.6 MB, free: 19.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.1377, allocations: 5.312 kB / 297.6 MB, free: 19.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006576/0.1383, allocations: 266.1 kB / 297.8 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.1387, allocations: 143.9 kB / 298 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/0.1417, allocations: 5.144 MB / 303.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.142, allocations: 87.34 kB / 303.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.1421, allocations: 34.48 kB / 303.2 MB, free: 15.19 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002193/0.1423, allocations: 217.5 kB / 303.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-05/0.1424, allocations: 99.38 kB / 303.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.1434, allocations: 0.7094 MB / 304.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1434, allocations: 8.812 kB / 304.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1434, allocations: 1.031 kB / 304.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.1434, allocations: 5.812 kB / 304.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.1451, allocations: 1.424 MB / 305.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.1451, allocations: 2.625 kB / 305.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.1454, allocations: 92.31 kB / 305.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005205/0.1459, allocations: 259.7 kB / 306 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.1459, allocations: 16.47 kB / 306.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.1483, allocations: 5.103 MB / 311.2 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.1483, allocations: 6.469 kB / 311.2 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.1494, allocations: 0.9821 MB / 312.2 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.1496, allocations: 136.6 kB / 312.3 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.1496, allocations: 18.58 kB / 312.3 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.1498, allocations: 38.69 kB / 312.3 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.15, allocations: 71.12 kB / 312.4 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.15, allocations: 26.77 kB / 312.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001964/0.1502, allocations: 294.4 kB / 312.7 MB, free: 9.121 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1502, allocations: 0 / 312.7 MB, free: 9.121 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007649/0.151, allocations: 314.5 kB / 313 MB, free: 9.062 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y_last,iAC.mean1.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002151/0.1512, allocations: 160.6 kB / 313.2 MB, free: 8.949 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009135/0.1521, allocations: 0.9618 MB / 314.2 MB, free: 8.438 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1521, allocations: 0 / 314.2 MB, free: 8.438 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004879/0.1526, allocations: 0.7339 MB / 314.9 MB, free: 7.961 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.153, allocations: 132 kB / 315 MB, free: 7.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.1549, allocations: 1.54 MB / 316.6 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.155, allocations: 187.3 kB / 316.7 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001785/0.1552, allocations: 77.3 kB / 316.8 MB, free: 6.977 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.21e-05/0.1553, allocations: 50.02 kB / 316.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of SimCode: time 9.51e-07/0.1553, allocations: 0 / 316.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of Templates: time 0.01399/0.1693, allocations: 12.28 MB / 329.1 MB, free: 11.68 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/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.123840267304331]