Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 168.5 kB / 25.33 MB, free: 9.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8936/0.8936, allocations: 158.6 MB / 187.2 MB, free: 2.492 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/3.033e-05, allocations: 2.312 kB / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.005384/0.005414, allocations: 6.114 MB / 257.2 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.008742, allocations: 2.138 MB / 259.3 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005161/0.009258, allocations: 19.94 kB / 259.3 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.01049, allocations: 0.7926 MB / 260.1 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.01167, allocations: 0.6325 MB / 260.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007232/0.01239, allocations: 0.4908 MB / 261.2 MB, free: 9.332 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.01345, allocations: 1.237 MB / 262.5 MB, free: 8.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009109/0.01436, allocations: 0.761 MB / 263.2 MB, free: 7.305 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000619/0.01498, allocations: 0.6899 MB / 263.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004521/0.01543, allocations: 434.7 kB / 264.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.01554, allocations: 108 kB / 264.5 MB, free: 6.082 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003993/0.01594, allocations: 259.7 kB / 264.7 MB, free: 5.828 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.01609, allocations: 274.9 kB / 265 MB, free: 5.559 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002731/0.01636, allocations: 387 kB / 265.4 MB, free: 5.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008988/0.01726, allocations: 0.9769 MB / 266.3 MB, free: 4.199 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01726, allocations: 0 / 266.3 MB, free: 4.199 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01726, allocations: 0 / 266.3 MB, free: 4.199 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.01728, allocations: 0 / 266.3 MB, free: 4.199 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.00206/0.01933, allocations: 1.798 MB / 268.1 MB, free: 2.344 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.01937, allocations: 15.98 kB / 268.1 MB, free: 2.328 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.02099, allocations: 0.6207 MB / 268.8 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/0.02156, allocations: 0.5154 MB / 269.3 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.331e-05/0.0216, allocations: 78.41 kB / 269.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.0217, allocations: 112.3 kB / 269.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009962/0.0227, allocations: 0.9234 MB / 270.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.02272, allocations: 4.188 kB / 270.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.025e-05/0.02278, allocations: 43.88 kB / 270.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.0228, allocations: 24 kB / 270.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007466/0.02355, allocations: 499.5 kB / 271 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003114/0.02666, allocations: 3.248 MB / 274.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.02777, allocations: 0.8427 MB / 275 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004131/0.02818, allocations: 309 kB / 275.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.736e-05/0.02824, allocations: 20.66 kB / 275.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004586/0.0287, allocations: 498.3 kB / 275.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=86): time 2.054e-06/0.0287, allocations: 0 / 275.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=86): time 0.002142/0.03084, allocations: 1.159 MB / 277 MB, free: 9.129 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.03092, allocations: 192.9 kB / 277.2 MB, free: 8.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.03125, allocations: 486.4 kB / 277.7 MB, free: 8.406 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.03129, allocations: 41.7 kB / 277.7 MB, free: 8.359 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.03149, allocations: 479.4 kB / 278.2 MB, free: 7.883 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.03164, allocations: 297.5 kB / 278.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.03181, allocations: 176.3 kB / 278.6 MB, free: 7.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.03196, allocations: 0.5469 MB / 279.2 MB, free: 6.852 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.03217, allocations: 141.9 kB / 279.3 MB, free: 6.711 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.03256, allocations: 0.5776 MB / 279.9 MB, free: 5.973 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006133/0.03317, allocations: 0.636 MB / 280.5 MB, free: 5.207 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.03318, allocations: 0 / 280.5 MB, free: 5.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0009923/0.03417, allocations: 0.8396 MB / 281.4 MB, free: 4.352 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.03419, allocations: 11.98 kB / 281.4 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.0342, allocations: 8 kB / 281.4 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/0.0348, allocations: 263.2 kB / 281.7 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.0351, allocations: 155.7 kB / 281.8 MB, free: 3.914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/0.03836, allocations: 5.138 MB / 287 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.03866, allocations: 99.39 kB / 287 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.03871, allocations: 48.02 kB / 287.1 MB, free: 14.39 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,$PRE.iDC2.mean.y,iAC.mean1.y,$PRE.iAC.mean1.y,iAC.mean2.y,$PRE.iAC.mean2.y,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 (90): * Single equations (assignments): 88 * 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.0002004/0.03891, allocations: 212.3 kB / 287.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.959e-05/0.039, allocations: 107.5 kB / 287.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009705/0.03997, allocations: 0.7189 MB / 288.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.03997, allocations: 12 kB / 288.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.03998, allocations: 0 / 288.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.03998, allocations: 7.984 kB / 288.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.04159, allocations: 1.44 MB / 289.6 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.0416, allocations: 8.062 kB / 289.6 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.04182, allocations: 103.8 kB / 289.7 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005111/0.04233, allocations: 251.1 kB / 289.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.04237, allocations: 23.98 kB / 290 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003082/0.04545, allocations: 5.095 MB / 295.1 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.04545, allocations: 0 / 295.1 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.04662, allocations: 0.9982 MB / 296.1 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.04681, allocations: 139.3 kB / 296.2 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.04686, allocations: 24.02 kB / 296.2 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.04706, allocations: 35.98 kB / 296.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.04719, allocations: 80.84 kB / 296.3 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.04722, allocations: 27.98 kB / 296.4 MB, free: 4.766 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002109/0.04743, allocations: 303 kB / 296.7 MB, free: 4.469 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04743, allocations: 0 / 296.7 MB, free: 4.469 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007257/0.04816, allocations: 315.4 kB / 297 MB, free: 4.16 MB / 282.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,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y,iAC.mean1.y) * 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 (59): * Single equations (assignments): 54 * 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.0002301/0.04839, allocations: 149.6 kB / 297.1 MB, free: 4.008 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.04946, allocations: 0.9895 MB / 298.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.04946, allocations: 0 / 298.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006375/0.0501, allocations: 0.7469 MB / 298.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.0505, allocations: 122 kB / 299 MB, free: 2.078 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.0528, allocations: 1.589 MB / 300.6 MB, free: 452 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.05295, allocations: 188.7 kB / 300.7 MB, free: 244 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.05314, allocations: 81.33 kB / 300.8 MB, free: 160 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.05324, allocations: 56.42 kB / 300.9 MB, free: 104 kB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.05324, allocations: 4 kB / 300.9 MB, free: 100 kB / 282.7 MB Notification: Performance of Templates: time 0.1158/0.1691, allocations: 11.74 MB / 312.6 MB, free: 44.28 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/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.3717899001203477]