Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.001905/0.001905, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.00139/0.00139, allocations: 172.4 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.061/1.061, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 3.938 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.567e-05, allocations: 5.266 kB / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.005238/0.005253, allocations: 5.997 MB / 280.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003042/0.008296, allocations: 2.173 MB / 282.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004247/0.00872, allocations: 19.94 kB / 282.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.009829, allocations: 0.7731 MB / 283.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009372/0.01077, allocations: 0.613 MB / 283.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.01144, allocations: 0.5219 MB / 284.3 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008355/0.01228, allocations: 1.222 MB / 285.5 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007365/0.01301, allocations: 0.7688 MB / 286.3 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005686/0.01358, allocations: 0.6937 MB / 287 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004208/0.014, allocations: 422.8 kB / 287.4 MB, free: 7.141 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.01411, allocations: 112 kB / 287.5 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003358/0.01445, allocations: 279.6 kB / 287.8 MB, free: 6.758 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.01459, allocations: 259 kB / 288 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.01485, allocations: 379 kB / 288.4 MB, free: 6.133 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008908/0.01574, allocations: 0.9886 MB / 289.4 MB, free: 5.141 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.01575, allocations: 0 / 289.4 MB, free: 5.141 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01575, allocations: 4 kB / 289.4 MB, free: 5.137 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.01575, allocations: 4 kB / 289.4 MB, free: 5.133 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.01773, allocations: 1.824 MB / 291.2 MB, free: 3.254 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.01776, allocations: 8.031 kB / 291.2 MB, free: 3.246 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.01912, allocations: 0.5115 MB / 291.7 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.01964, allocations: 0.5016 MB / 292.2 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.864e-05/0.01969, allocations: 74.38 kB / 292.3 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.01981, allocations: 112.3 kB / 292.4 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008709/0.02068, allocations: 0.8253 MB / 293.3 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.02071, allocations: 8.172 kB / 293.3 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-05/0.02077, allocations: 44.12 kB / 293.3 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.02078, allocations: 24 kB / 293.3 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004846/0.02127, allocations: 377.5 kB / 293.7 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00293/0.0242, allocations: 3.045 MB / 296.7 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009013/0.0251, allocations: 0.7291 MB / 297.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.02542, allocations: 257.9 kB / 297.7 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.989e-05/0.02549, allocations: 32.64 kB / 297.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004084/0.0259, allocations: 482.1 kB / 298.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of pre-optimization done (n=84): time 2.826e-06/0.02591, allocations: 3.984 kB / 298.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=84): time 0.001982/0.02789, allocations: 1.061 MB / 299.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.02796, allocations: 188.9 kB / 299.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.02825, allocations: 482.2 kB / 299.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.0283, allocations: 41.83 kB / 300 MB, free: 10.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.02853, allocations: 491.3 kB / 300.5 MB, free: 9.629 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.02869, allocations: 289.5 kB / 300.7 MB, free: 9.344 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.02888, allocations: 168.2 kB / 300.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.02904, allocations: 0.5546 MB / 301.5 MB, free: 8.605 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.02917, allocations: 101.9 kB / 301.6 MB, free: 8.504 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.02948, allocations: 0.4934 MB / 302.1 MB, free: 7.867 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.02993, allocations: 0.5167 MB / 302.6 MB, free: 7.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.02994, allocations: 0 / 302.6 MB, free: 7.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0008308/0.03077, allocations: 0.7066 MB / 303.3 MB, free: 6.527 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.03079, allocations: 15.88 kB / 303.3 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.03079, allocations: 4 kB / 303.3 MB, free: 6.508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005282/0.03132, allocations: 243.5 kB / 303.5 MB, free: 6.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.0316, allocations: 139.8 kB / 303.7 MB, free: 6.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003242/0.03484, allocations: 5.011 MB / 308.7 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.03512, allocations: 95.52 kB / 308.8 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.03515, allocations: 31.94 kB / 308.8 MB, free: 0.7734 MB / 282.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.0001867/0.03534, allocations: 205 kB / 309 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.882e-05/0.03544, allocations: 103.6 kB / 309.1 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008455/0.03628, allocations: 0.6483 MB / 309.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.03629, allocations: 12 kB / 309.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.03629, allocations: 0 / 309.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.0363, allocations: 3.984 kB / 309.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.03772, allocations: 1.273 MB / 311 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.03772, allocations: 0 / 311 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.03794, allocations: 99.86 kB / 311.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004648/0.0384, allocations: 227.1 kB / 311.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.03844, allocations: 23.92 kB / 311.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002957/0.04139, allocations: 4.959 MB / 316.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.0414, allocations: 0 / 316.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.04242, allocations: 0.8966 MB / 317.2 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.04259, allocations: 139.3 kB / 317.4 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.259e-05/0.04265, allocations: 20 kB / 317.4 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.04286, allocations: 43.91 kB / 317.4 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.04297, allocations: 72.86 kB / 317.5 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.04299, allocations: 23.94 kB / 317.5 MB, free: 7.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001659/0.04316, allocations: 294.7 kB / 317.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04316, allocations: 0 / 317.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006267/0.04379, allocations: 319.3 kB / 318.1 MB, free: 7.109 MB / 298.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.0002147/0.044, allocations: 163 kB / 318.3 MB, free: 6.938 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008577/0.04486, allocations: 0.9035 MB / 319.2 MB, free: 5.992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.04486, allocations: 0 / 319.2 MB, free: 5.992 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005348/0.04539, allocations: 0.7164 MB / 319.9 MB, free: 5.234 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.04578, allocations: 126.2 kB / 320 MB, free: 5.113 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.0477, allocations: 1.556 MB / 321.6 MB, free: 3.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.04783, allocations: 192.6 kB / 321.8 MB, free: 3.312 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001771/0.04801, allocations: 73.16 kB / 321.9 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.04826, allocations: 210.1 kB / 322.1 MB, free: 3.035 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.04827, allocations: 4 kB / 322.1 MB, free: 3.031 MB / 298.7 MB Notification: Performance of Templates: time 0.01615/0.06442, allocations: 12.9 MB / 335 MB, free: 6.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.386742390692234]