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.001014/0.001014, allocations: 68.19 kB / 9.935 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001276/0.00229, allocations: 445.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007221/0.0007221, allocations: 161.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009488/0.001671, allocations: 463.6 kB / 11.71 MB, free: 2.449 MB / 13.93 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.9184/0.9184, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1509/1.069, allocations: 49.49 MB / 220.6 MB, free: 1.449 MB / 218.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 1.833e-06/1.833e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.846e-05, allocations: 6.25 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.007585/0.007614, allocations: 6.061 MB / 227.9 MB, free: 10.07 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005192/0.01281, allocations: 2.219 MB / 230.1 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009982/0.0138, allocations: 23.88 kB / 230.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.01553, allocations: 0.7886 MB / 230.9 MB, free: 7.02 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.0176, allocations: 0.6286 MB / 231.6 MB, free: 6.387 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.01876, allocations: 0.4907 MB / 232.1 MB, free: 5.895 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001928/0.02069, allocations: 1.237 MB / 233.3 MB, free: 4.652 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.022, allocations: 0.7339 MB / 234 MB, free: 3.891 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.0234, allocations: 0.7574 MB / 234.8 MB, free: 3.133 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008649/0.02427, allocations: 438.7 kB / 235.2 MB, free: 2.703 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003117/0.02458, allocations: 112 kB / 235.3 MB, free: 2.594 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007091/0.02529, allocations: 271.6 kB / 235.6 MB, free: 2.328 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.02547, allocations: 187.4 kB / 235.8 MB, free: 2.145 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004087/0.02588, allocations: 319.3 kB / 236.1 MB, free: 1.832 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.02719, allocations: 0.8874 MB / 237 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.752e-05/0.02721, allocations: 4 kB / 237 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.02721, allocations: 4 kB / 237 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.301e-05/0.02726, allocations: 0 / 237 MB, free: 0.9336 MB / 234.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.003036/0.0303, allocations: 1.683 MB / 238.7 MB, free: 15.2 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.03034, allocations: 8.031 kB / 238.7 MB, free: 15.19 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/0.03279, allocations: 0.6447 MB / 239.3 MB, free: 14.55 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000986/0.03378, allocations: 379 kB / 239.7 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/0.03384, allocations: 74.41 kB / 239.8 MB, free: 14.08 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.03397, allocations: 108.4 kB / 239.9 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.0351, allocations: 0.848 MB / 240.7 MB, free: 13.05 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.03513, allocations: 8.188 kB / 240.7 MB, free: 13.04 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/0.03521, allocations: 47.94 kB / 240.8 MB, free: 12.99 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.03523, allocations: 24 kB / 240.8 MB, free: 12.97 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006796/0.03591, allocations: 353.6 kB / 241.1 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003857/0.03977, allocations: 2.481 MB / 243.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008711/0.04064, allocations: 0.7304 MB / 244.3 MB, free: 9.273 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.04095, allocations: 263.5 kB / 244.6 MB, free: 9.012 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.496e-05/0.04102, allocations: 20.66 kB / 244.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003746/0.04139, allocations: 467.5 kB / 245.1 MB, free: 8.477 MB / 250.7 MB Notification: Performance of pre-optimization done (n=86): time 2.766e-06/0.0414, allocations: 0 / 245.1 MB, free: 8.477 MB / 250.7 MB Notification: Performance of matching and sorting (n=86): time 0.001632/0.04303, allocations: 0.9637 MB / 246 MB, free: 7.504 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.04307, allocations: 98.17 kB / 246.1 MB, free: 7.391 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.04334, allocations: 415 kB / 246.5 MB, free: 6.973 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.04337, allocations: 41.7 kB / 246.6 MB, free: 6.926 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/0.04382, allocations: 393.6 kB / 247 MB, free: 6.535 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.04396, allocations: 301.4 kB / 247.3 MB, free: 6.238 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.04411, allocations: 162.5 kB / 247.4 MB, free: 6.074 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.04424, allocations: 378.6 kB / 247.8 MB, free: 5.695 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.04435, allocations: 93.94 kB / 247.9 MB, free: 5.602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.04461, allocations: 459.3 kB / 248.3 MB, free: 5.023 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.04499, allocations: 0.4971 MB / 248.8 MB, free: 4.438 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.045, allocations: 4 kB / 248.8 MB, free: 4.434 MB / 250.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0006549/0.04565, allocations: 0.6039 MB / 249.4 MB, free: 3.816 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.04568, allocations: 8 kB / 249.4 MB, free: 3.809 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.04569, allocations: 12.06 kB / 249.5 MB, free: 3.797 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004952/0.04618, allocations: 249.7 kB / 249.7 MB, free: 3.547 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.04651, allocations: 179.7 kB / 249.9 MB, free: 3.371 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/0.04916, allocations: 3.603 MB / 253.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.0495, allocations: 99.39 kB / 253.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.04953, allocations: 31.98 kB / 253.6 MB, free: 15.47 MB / 266.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.mean2.y,$PRE.iAC.mean2.y,iAC.mean1.y,$PRE.iAC.mean1.y,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.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.0004356/0.04997, allocations: 172.4 kB / 253.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.05004, allocations: 75.94 kB / 253.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006014/0.05064, allocations: 0.5239 MB / 254.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.05065, allocations: 12 kB / 254.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.05065, allocations: 3.938 kB / 254.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.05066, allocations: 7.969 kB / 254.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.05182, allocations: 0.9862 MB / 255.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.05182, allocations: 7.922 kB / 255.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.05204, allocations: 107.9 kB / 255.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.05218, allocations: 87.38 kB / 255.6 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/0.05261, allocations: 229.5 kB / 255.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.05264, allocations: 15.98 kB / 255.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/0.05487, allocations: 3.54 MB / 259.4 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.05487, allocations: 4.031 kB / 259.4 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/0.05561, allocations: 0.7145 MB / 260.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.145e-05/0.05567, allocations: 28.06 kB / 260.1 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.05585, allocations: 39.97 kB / 260.1 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.05597, allocations: 76.8 kB / 260.2 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.056, allocations: 19.98 kB / 260.2 MB, free: 8.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.05613, allocations: 168.7 kB / 260.4 MB, free: 8.406 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05613, allocations: 0 / 260.4 MB, free: 8.406 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000736/0.05686, allocations: 315.3 kB / 260.7 MB, free: 8.098 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,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.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.0004935/0.05736, allocations: 136.2 kB / 260.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008426/0.0582, allocations: 0.7844 MB / 261.6 MB, free: 7.145 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.827e-05/0.05823, allocations: 12 kB / 261.6 MB, free: 7.133 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005055/0.05873, allocations: 0.5787 MB / 262.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.05911, allocations: 170.1 kB / 262.4 MB, free: 6.355 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00623/0.06534, allocations: 1.662 MB / 264 MB, free: 4.645 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.0655, allocations: 192.7 kB / 264.2 MB, free: 4.434 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002166/0.06571, allocations: 81.33 kB / 264.3 MB, free: 4.352 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.06595, allocations: 173.3 kB / 264.5 MB, free: 4.184 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.06595, allocations: 0 / 264.5 MB, free: 4.184 MB / 266.7 MB Notification: Performance of Templates: time 0.01801/0.08396, allocations: 12.78 MB / 277.3 MB, free: 7.414 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 -ignoreHideResult -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.057560432702303]