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.001111/0.001111, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001173/0.001173, allocations: 143.1 kB / 24.97 MB, free: 8.324 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.8685/0.8685, allocations: 173.3 MB / 201.5 MB, free: 9.328 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.513e-06/1.513e-06, allocations: 0 / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31e-05/1.461e-05, allocations: 2.312 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.005206/0.00522, allocations: 6.073 MB / 274.2 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.008056, allocations: 2.067 MB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.008407, allocations: 23.88 kB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.009502, allocations: 0.7809 MB / 277 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.01051, allocations: 0.7608 MB / 277.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000569/0.01107, allocations: 498.5 kB / 278.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000899/0.01197, allocations: 1.21 MB / 279.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007208/0.01269, allocations: 0.7571 MB / 280.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004828/0.01318, allocations: 0.6782 MB / 280.9 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.01357, allocations: 422.8 kB / 281.3 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.01368, allocations: 112 kB / 281.4 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.014, allocations: 259.7 kB / 281.7 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.01413, allocations: 251.1 kB / 281.9 MB, free: 8.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.01438, allocations: 383 kB / 282.3 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007976/0.01518, allocations: 0.9653 MB / 283.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.01518, allocations: 0 / 283.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01518, allocations: 0 / 283.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.01519, allocations: 0 / 283.3 MB, free: 7.426 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.00187/0.01706, allocations: 1.782 MB / 285.1 MB, free: 5.586 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.01709, allocations: 12.92 kB / 285.1 MB, free: 5.574 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.01847, allocations: 0.492 MB / 285.6 MB, free: 5.082 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.019, allocations: 0.5037 MB / 286.1 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.01904, allocations: 78.31 kB / 286.1 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.01917, allocations: 108.4 kB / 286.2 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.02036, allocations: 0.8918 MB / 287.1 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.02038, allocations: 8.125 kB / 287.1 MB, free: 3.406 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.379e-05/0.02045, allocations: 52.06 kB / 287.2 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.02046, allocations: 24 kB / 287.2 MB, free: 3.332 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007481/0.02121, allocations: 459.6 kB / 287.7 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09456/0.1158, allocations: 3.109 MB / 290.8 MB, free: 31.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.117, allocations: 0.7755 MB / 291.6 MB, free: 31.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000456/0.1174, allocations: 292.8 kB / 291.8 MB, free: 31.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.149e-05/0.1175, allocations: 23.78 kB / 291.9 MB, free: 31.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004853/0.118, allocations: 498.9 kB / 292.4 MB, free: 31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.074e-06/0.118, allocations: 5.141 kB / 292.4 MB, free: 31 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.002344/0.1203, allocations: 1.161 MB / 293.5 MB, free: 30.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.1204, allocations: 196.8 kB / 293.7 MB, free: 30.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.1207, allocations: 456.8 kB / 294.2 MB, free: 30.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.1208, allocations: 44.52 kB / 294.2 MB, free: 30.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.1209, allocations: 468.8 kB / 294.7 MB, free: 30.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.1211, allocations: 285.1 kB / 294.9 MB, free: 30.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.1212, allocations: 167.7 kB / 295.1 MB, free: 29.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.442e-05/0.1213, allocations: 0.5378 MB / 295.6 MB, free: 29.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.1215, allocations: 136.3 kB / 295.8 MB, free: 29.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.1219, allocations: 0.5252 MB / 296.3 MB, free: 28.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005611/0.1224, allocations: 0.5628 MB / 296.9 MB, free: 28.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.1224, allocations: 2.125 kB / 296.9 MB, free: 28.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001035/0.1235, allocations: 0.774 MB / 297.6 MB, free: 28.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1235, allocations: 7.531 kB / 297.6 MB, free: 28.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1235, allocations: 5.281 kB / 297.6 MB, free: 28.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/0.1241, allocations: 272.2 kB / 297.9 MB, free: 28.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.1244, allocations: 143 kB / 298.1 MB, free: 28.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/0.1274, allocations: 5.138 MB / 303.2 MB, free: 23.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.1277, allocations: 95.41 kB / 303.3 MB, free: 23.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.1277, allocations: 35.14 kB / 303.3 MB, free: 23.7 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.0001877/0.1279, allocations: 217.2 kB / 303.5 MB, free: 23.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-05/0.128, allocations: 93.44 kB / 303.6 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.1291, allocations: 0.7079 MB / 304.3 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.1291, allocations: 8.906 kB / 304.3 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1291, allocations: 1 kB / 304.3 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.1291, allocations: 5.547 kB / 304.3 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.1308, allocations: 1.425 MB / 305.8 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.1308, allocations: 3.016 kB / 305.8 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.131, allocations: 90.11 kB / 305.9 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005304/0.1315, allocations: 259.9 kB / 306.1 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/0.1316, allocations: 20.83 kB / 306.1 MB, free: 22.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/0.134, allocations: 5.103 MB / 311.2 MB, free: 17.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.134, allocations: 4.031 kB / 311.2 MB, free: 17.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.1351, allocations: 0.9738 MB / 312.2 MB, free: 17.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.1352, allocations: 136 kB / 312.3 MB, free: 17.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.1353, allocations: 19.53 kB / 312.4 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.1354, allocations: 39.02 kB / 312.4 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.1356, allocations: 71.58 kB / 312.5 MB, free: 17.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.1356, allocations: 32.06 kB / 312.5 MB, free: 17.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001657/0.1358, allocations: 299.8 kB / 312.8 MB, free: 17.19 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1358, allocations: 0 / 312.8 MB, free: 17.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006372/0.1364, allocations: 311.9 kB / 313.1 MB, free: 17.11 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.0001762/0.1366, allocations: 154 kB / 313.3 MB, free: 16.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008635/0.1374, allocations: 0.9595 MB / 314.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1374, allocations: 4 kB / 314.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004807/0.1379, allocations: 0.7316 MB / 314.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1383, allocations: 139.8 kB / 315.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.14, allocations: 1.557 MB / 316.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.766e-05/0.1401, allocations: 180.6 kB / 316.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001721/0.1403, allocations: 73.14 kB / 316.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.382e-05/0.1404, allocations: 56.48 kB / 316.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1404, allocations: 0 / 316.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of Templates: time 0.01178/0.1522, allocations: 11.62 MB / 328.6 MB, free: 1.859 MB / 266.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.2890625949949026]