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.00145/0.00145, allocations: 85.08 kB / 23 MB, free: 1.504 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.001593/0.001593, allocations: 176.3 kB / 26.39 MB, free: 7.988 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.9307/0.9307, allocations: 158.6 MB / 188.3 MB, free: 2.82 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 1.182e-06/1.182e-06, allocations: 0 / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.011e-05, allocations: 6.25 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.01418/0.0142, allocations: 5.994 MB / 258.3 MB, free: 1.211 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004627/0.01882, allocations: 2.111 MB / 260.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004941/0.01932, allocations: 19.94 kB / 260.4 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.02064, allocations: 0.7731 MB / 261.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.02185, allocations: 0.6325 MB / 261.8 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007998/0.02265, allocations: 490.6 kB / 262.3 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.02398, allocations: 1.241 MB / 263.5 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.025, allocations: 0.761 MB / 264.3 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008074/0.02581, allocations: 0.6976 MB / 265 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005915/0.0264, allocations: 430.8 kB / 265.4 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.02656, allocations: 112 kB / 265.5 MB, free: 9.918 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004792/0.02704, allocations: 263.6 kB / 265.8 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.02721, allocations: 259 kB / 266 MB, free: 9.406 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003549/0.02756, allocations: 387 kB / 266.4 MB, free: 9.027 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.02864, allocations: 0.973 MB / 267.4 MB, free: 8.051 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.02864, allocations: 0 / 267.4 MB, free: 8.051 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.02864, allocations: 0 / 267.4 MB, free: 8.051 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.02866, allocations: 4 kB / 267.4 MB, free: 8.047 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.002595/0.03125, allocations: 1.832 MB / 269.2 MB, free: 6.156 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.03129, allocations: 11.98 kB / 269.2 MB, free: 6.145 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/0.03363, allocations: 0.6168 MB / 269.8 MB, free: 5.527 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.03426, allocations: 0.49 MB / 270.3 MB, free: 5.008 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.294e-05/0.03432, allocations: 78.41 kB / 270.4 MB, free: 4.93 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.03445, allocations: 112.4 kB / 270.5 MB, free: 4.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.03562, allocations: 0.849 MB / 271.4 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.03564, allocations: 192 / 271.4 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.03e-05/0.03573, allocations: 47.94 kB / 271.4 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.03575, allocations: 28 kB / 271.4 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006803/0.03643, allocations: 405.5 kB / 271.8 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004032/0.04046, allocations: 3.147 MB / 275 MB, free: 144 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.04173, allocations: 0.8083 MB / 275.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/0.04214, allocations: 265.1 kB / 276 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.812e-05/0.0422, allocations: 24.64 kB / 276.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004785/0.04267, allocations: 478.2 kB / 276.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=86): time 2.655e-06/0.04268, allocations: 0 / 276.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=86): time 0.002486/0.04516, allocations: 1.073 MB / 277.6 MB, free: 13.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/0.04525, allocations: 196.9 kB / 277.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.04564, allocations: 470.2 kB / 278.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.04569, allocations: 41.7 kB / 278.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.04598, allocations: 499.2 kB / 278.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.0462, allocations: 297.4 kB / 279.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.04644, allocations: 180.1 kB / 279.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.04664, allocations: 0.5584 MB / 279.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.04683, allocations: 101.9 kB / 279.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.04727, allocations: 0.5541 MB / 280.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/0.04791, allocations: 0.5891 MB / 281 MB, free: 9.586 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.04791, allocations: 0 / 281 MB, free: 9.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001337/0.04925, allocations: 0.7418 MB / 281.8 MB, free: 8.828 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.04927, allocations: 15.92 kB / 281.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.04928, allocations: 8.438 kB / 281.8 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006547/0.04994, allocations: 255 kB / 282.1 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.05034, allocations: 159.7 kB / 282.2 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.05397, allocations: 4.999 MB / 287.2 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.05438, allocations: 103.4 kB / 287.3 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.05443, allocations: 28 kB / 287.3 MB, free: 3.043 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.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.0002475/0.05468, allocations: 228.3 kB / 287.6 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.0548, allocations: 95.58 kB / 287.7 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.05584, allocations: 0.6681 MB / 288.3 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.05585, allocations: 11.94 kB / 288.3 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.05585, allocations: 7.938 kB / 288.3 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.05586, allocations: 3.984 kB / 288.4 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.05752, allocations: 1.273 MB / 289.6 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.05752, allocations: 0 / 289.6 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.05773, allocations: 99.77 kB / 289.7 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004498/0.05818, allocations: 247.1 kB / 290 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.05821, allocations: 16 kB / 290 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002903/0.06111, allocations: 4.976 MB / 295 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.06112, allocations: 4 kB / 295 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009761/0.06209, allocations: 0.9004 MB / 295.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.06231, allocations: 143.3 kB / 296 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.138e-05/0.06237, allocations: 20 kB / 296 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.06258, allocations: 39.97 kB / 296.1 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.06271, allocations: 72.86 kB / 296.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.06274, allocations: 23.98 kB / 296.2 MB, free: 9.891 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001682/0.06291, allocations: 286.9 kB / 296.4 MB, free: 9.609 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.06291, allocations: 0 / 296.4 MB, free: 9.609 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008748/0.06379, allocations: 315.3 kB / 296.7 MB, free: 9.301 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.0002197/0.06401, allocations: 174.9 kB / 296.9 MB, free: 9.121 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.06504, allocations: 0.9182 MB / 297.8 MB, free: 8.168 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.06504, allocations: 0 / 297.8 MB, free: 8.168 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005745/0.06562, allocations: 0.7166 MB / 298.5 MB, free: 7.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.06603, allocations: 122.1 kB / 298.7 MB, free: 7.293 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.06838, allocations: 1.589 MB / 300.3 MB, free: 5.656 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.06851, allocations: 184.7 kB / 300.4 MB, free: 5.457 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.06872, allocations: 81.33 kB / 300.5 MB, free: 5.375 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.06898, allocations: 206.1 kB / 300.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of SimCode: time 1.193e-06/0.06898, allocations: 0 / 300.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of Templates: time 0.01685/0.08584, allocations: 12.79 MB / 313.5 MB, free: 8.41 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","",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.3140113782137632]