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.0009856/0.0009856, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.0009352/0.0009352, allocations: 150.1 kB / 24.81 MB, free: 9.285 MB / 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.9413/0.9413, allocations: 173.4 MB / 201.4 MB, free: 9.195 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.643e-06/1.643e-06, allocations: 0 / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219e-05/1.384e-05, allocations: 10.25 kB / 268.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.005343/0.005357, allocations: 5.948 MB / 274.4 MB, free: 196 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.008282, allocations: 2.075 MB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.008567, allocations: 23.94 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.009615, allocations: 0.7574 MB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.01082, allocations: 0.753 MB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.01133, allocations: 498.5 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007309/0.01206, allocations: 1.214 MB / 279.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006594/0.01272, allocations: 0.7532 MB / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004882/0.0132, allocations: 0.6782 MB / 281.1 MB, free: 9.395 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.01358, allocations: 426.7 kB / 281.5 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.85e-05/0.01368, allocations: 108 kB / 281.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002863/0.01396, allocations: 251.7 kB / 281.9 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.01409, allocations: 255.1 kB / 282.1 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.01433, allocations: 379 kB / 282.5 MB, free: 8.004 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007398/0.01507, allocations: 0.973 MB / 283.5 MB, free: 7.027 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01507, allocations: 0 / 283.5 MB, free: 7.027 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01507, allocations: 3.938 kB / 283.5 MB, free: 7.023 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.01508, allocations: 0 / 283.5 MB, free: 7.023 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.001971/0.01705, allocations: 1.801 MB / 285.3 MB, free: 5.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.01708, allocations: 12.92 kB / 285.3 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.01826, allocations: 0.4958 MB / 285.8 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.0187, allocations: 493.9 kB / 286.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.01874, allocations: 78.38 kB / 286.3 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.345e-05/0.01884, allocations: 108.4 kB / 286.4 MB, free: 3.961 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007549/0.01959, allocations: 0.8252 MB / 287.3 MB, free: 3.078 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.01961, allocations: 8.141 kB / 287.3 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.01967, allocations: 44.12 kB / 287.3 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.01968, allocations: 24 kB / 287.3 MB, free: 3.004 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.02012, allocations: 373.6 kB / 287.7 MB, free: 2.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1118/0.1319, allocations: 3.017 MB / 290.7 MB, free: 22.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.1332, allocations: 0.7202 MB / 291.4 MB, free: 22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/0.1336, allocations: 265 kB / 291.7 MB, free: 21.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.561e-05/0.1337, allocations: 24.58 kB / 291.7 MB, free: 21.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004765/0.1342, allocations: 476.2 kB / 292.2 MB, free: 21.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 3.937e-06/0.1342, allocations: 1.062 kB / 292.2 MB, free: 21.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.002194/0.1364, allocations: 1.071 MB / 293.3 MB, free: 21.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.1364, allocations: 196 kB / 293.5 MB, free: 21.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.1368, allocations: 453.6 kB / 293.9 MB, free: 21.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.1368, allocations: 45.83 kB / 293.9 MB, free: 21.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.1371, allocations: 480.5 kB / 294.4 MB, free: 20.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.1373, allocations: 291.6 kB / 294.7 MB, free: 20.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.1375, allocations: 170 kB / 294.9 MB, free: 20.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1376, allocations: 0.5439 MB / 295.4 MB, free: 20.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.1378, allocations: 100.3 kB / 295.5 MB, free: 20.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.1381, allocations: 0.4953 MB / 296 MB, free: 19.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.1385, allocations: 0.516 MB / 296.5 MB, free: 19.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1385, allocations: 1.25 kB / 296.5 MB, free: 19.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.000853/0.1394, allocations: 0.6952 MB / 297.2 MB, free: 19.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1394, allocations: 14.91 kB / 297.2 MB, free: 19.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.1394, allocations: 5.812 kB / 297.2 MB, free: 19.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005759/0.14, allocations: 259.1 kB / 297.5 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.1403, allocations: 141.8 kB / 297.6 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.143, allocations: 5.014 MB / 302.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.1434, allocations: 92.61 kB / 302.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.1434, allocations: 27.55 kB / 302.8 MB, free: 15.43 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.0002235/0.1436, allocations: 215.5 kB / 303 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.955e-05/0.1437, allocations: 98.22 kB / 303.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008829/0.1446, allocations: 0.6493 MB / 303.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.1446, allocations: 13.28 kB / 303.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1446, allocations: 1.312 kB / 303.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.1446, allocations: 4.406 kB / 303.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.1462, allocations: 1.265 MB / 305 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.1462, allocations: 1.781 kB / 305 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.1465, allocations: 89.28 kB / 305.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005366/0.1471, allocations: 241.5 kB / 305.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.1471, allocations: 21.36 kB / 305.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/0.1499, allocations: 4.981 MB / 310.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1499, allocations: 0 / 310.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009246/0.1508, allocations: 0.8869 MB / 311.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.151, allocations: 144.7 kB / 311.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.151, allocations: 15.25 kB / 311.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.1512, allocations: 37.09 kB / 311.4 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.1513, allocations: 80.06 kB / 311.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.1514, allocations: 17.69 kB / 311.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001537/0.1515, allocations: 283.4 kB / 311.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1515, allocations: 0 / 311.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009029/0.1524, allocations: 309 kB / 312.1 MB, free: 10.18 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.00022/0.1526, allocations: 161.6 kB / 312.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009146/0.1536, allocations: 0.9087 MB / 313.1 MB, free: 9.605 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1536, allocations: 0 / 313.1 MB, free: 9.605 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.1541, allocations: 0.7186 MB / 313.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.1545, allocations: 119.2 kB / 314 MB, free: 9.105 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.1565, allocations: 1.53 MB / 315.5 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.1566, allocations: 184.5 kB / 315.7 MB, free: 8.207 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001924/0.1568, allocations: 75.8 kB / 315.8 MB, free: 8.184 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.1571, allocations: 208.6 kB / 316 MB, free: 8.109 MB / 266.7 MB Notification: Performance of SimCode: time 1.974e-06/0.1571, allocations: 0 / 316 MB, free: 8.109 MB / 266.7 MB Notification: Performance of Templates: time 0.01565/0.1727, allocations: 12.4 MB / 328.4 MB, free: 13.03 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.1612418037839234]