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.001925/0.001925, allocations: 87.67 kB / 21.73 MB, free: 2.676 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.001929/0.001929, allocations: 158.2 kB / 25.03 MB, free: 8.957 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 1.41/1.41, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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 1.643e-06/1.643e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.138e-05, allocations: 2.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.01339/0.01342, allocations: 6.072 MB / 256.4 MB, free: 1.727 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007146/0.02057, allocations: 2.111 MB / 258.6 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.02187, allocations: 23.94 kB / 258.6 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003142/0.02501, allocations: 0.7887 MB / 259.4 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.02781, allocations: 0.6287 MB / 260 MB, free: 14.15 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.02978, allocations: 0.4946 MB / 260.5 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003034/0.03281, allocations: 1.237 MB / 261.7 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/0.03516, allocations: 0.757 MB / 262.5 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.03686, allocations: 0.686 MB / 263.2 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.03798, allocations: 434.7 kB / 263.6 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002829/0.03826, allocations: 112 kB / 263.7 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009079/0.03917, allocations: 263.7 kB / 264 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003727/0.03955, allocations: 263 kB / 264.2 MB, free: 9.895 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007789/0.04032, allocations: 383.1 kB / 264.6 MB, free: 9.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003496/0.04382, allocations: 1.511 MB / 266.1 MB, free: 8.004 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.04383, allocations: 0 / 266.1 MB, free: 8.004 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.04383, allocations: 0 / 266.1 MB, free: 8.004 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.049e-05/0.04387, allocations: 0 / 266.1 MB, free: 8.004 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.006298/0.05017, allocations: 2.032 MB / 268.1 MB, free: 5.914 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.05023, allocations: 15.98 kB / 268.1 MB, free: 5.898 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005621/0.05585, allocations: 0.6168 MB / 268.8 MB, free: 5.281 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.05767, allocations: 0.527 MB / 269.3 MB, free: 4.723 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.0578, allocations: 78.41 kB / 269.4 MB, free: 4.645 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002908/0.05809, allocations: 112.3 kB / 269.5 MB, free: 4.535 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003452/0.06155, allocations: 1.181 MB / 270.7 MB, free: 3.273 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.554e-05/0.06159, allocations: 192 / 270.7 MB, free: 3.273 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.06176, allocations: 51.92 kB / 270.7 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/0.0618, allocations: 24 kB / 270.7 MB, free: 3.199 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/0.06472, allocations: 0.8433 MB / 271.6 MB, free: 2.359 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01/0.07473, allocations: 3.674 MB / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003488/0.07821, allocations: 0.9319 MB / 276.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.07969, allocations: 409 kB / 276.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.07984, allocations: 28.64 kB / 276.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001603/0.08145, allocations: 0.6155 MB / 277.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=86): time 4.889e-06/0.08145, allocations: 0 / 277.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=86): time 0.007383/0.08884, allocations: 1.483 MB / 278.7 MB, free: 11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002281/0.08906, allocations: 200.8 kB / 278.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.09035, allocations: 0.5883 MB / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.09047, allocations: 41.7 kB / 279.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009344/0.09141, allocations: 0.4954 MB / 280 MB, free: 9.605 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004878/0.09189, allocations: 309.5 kB / 280.3 MB, free: 9.301 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005165/0.09241, allocations: 204.2 kB / 280.5 MB, free: 9.094 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0005478/0.09296, allocations: 0.5859 MB / 281.1 MB, free: 8.496 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009257/0.09388, allocations: 253.9 kB / 281.4 MB, free: 8.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.09542, allocations: 0.7143 MB / 282.1 MB, free: 7.375 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/0.09764, allocations: 0.8625 MB / 282.9 MB, free: 6.387 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.09765, allocations: 4 kB / 282.9 MB, free: 6.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003421/0.1011, allocations: 1.078 MB / 284 MB, free: 5.289 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/0.1011, allocations: 8 kB / 284 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.1011, allocations: 8 kB / 284 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/0.1028, allocations: 327.2 kB / 284.4 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009288/0.1038, allocations: 155.7 kB / 284.5 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.1151, allocations: 5.845 MB / 290.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.1161, allocations: 99.42 kB / 290.5 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.1162, allocations: 36 kB / 290.5 MB, free: 14.57 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.00067/0.1169, allocations: 292.3 kB / 290.8 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/0.1172, allocations: 107.5 kB / 290.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003413/0.1206, allocations: 0.9494 MB / 291.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/0.1206, allocations: 12 kB / 291.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1206, allocations: 0 / 291.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.1206, allocations: 3.984 kB / 291.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005527/0.1262, allocations: 1.856 MB / 293.7 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.1262, allocations: 0 / 293.7 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007426/0.1269, allocations: 91.89 kB / 293.8 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001662/0.1286, allocations: 315 kB / 294.1 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.79e-05/0.1287, allocations: 20 kB / 294.1 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/0.1393, allocations: 5.819 MB / 299.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.1393, allocations: 4 kB / 299.9 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004649/0.1439, allocations: 1.401 MB / 301.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/0.1445, allocations: 139.3 kB / 301.5 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.1446, allocations: 19.94 kB / 301.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006757/0.1453, allocations: 35.98 kB / 301.5 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/0.1456, allocations: 80.78 kB / 301.6 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.603e-05/0.1457, allocations: 24 kB / 301.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007452/0.1464, allocations: 371 kB / 302 MB, free: 2.699 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1464, allocations: 7.938 kB / 302 MB, free: 2.691 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001873/0.1483, allocations: 315.3 kB / 302.3 MB, free: 2.383 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.0004128/0.1487, allocations: 159.1 kB / 302.5 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003327/0.152, allocations: 1.219 MB / 303.7 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.152, allocations: 0 / 303.7 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00192/0.154, allocations: 0.8576 MB / 304.5 MB, free: 64 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.1551, allocations: 138.1 kB / 304.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005055/0.1601, allocations: 1.686 MB / 306.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007173/0.1608, allocations: 412.4 kB / 306.8 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005095/0.1613, allocations: 81.33 kB / 306.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.1616, allocations: 48.5 kB / 306.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of SimCode: time 1.352e-06/0.1616, allocations: 0 / 306.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of Templates: time 0.02548/0.187, allocations: 11.73 MB / 318.6 MB, free: 1.93 MB / 298.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.081046701990999]