Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00416/0.00548, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002895/0.002895, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004043/0.006939, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8557/0.8557, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1354/0.9911, allocations: 52.5 MB / 238.5 MB, free: 7.605 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 239.7 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.449e-05, allocations: 2.312 kB / 239.7 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.004729/0.004744, allocations: 6.039 MB / 245.8 MB, free: 300 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.007444, allocations: 2.165 MB / 247.9 MB, free: 14.13 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003078/0.007752, allocations: 23.94 kB / 248 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009057/0.008657, allocations: 0.7906 MB / 248.8 MB, free: 13.31 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000934/0.009591, allocations: 0.7548 MB / 249.5 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006155/0.01021, allocations: 0.492 MB / 250 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008196/0.01103, allocations: 1.213 MB / 251.2 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007159/0.01174, allocations: 0.7417 MB / 252 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006243/0.01237, allocations: 0.7534 MB / 252.7 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004306/0.0128, allocations: 418.8 kB / 253.1 MB, free: 8.918 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.0129, allocations: 108 kB / 253.2 MB, free: 8.812 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003854/0.01329, allocations: 264.7 kB / 253.5 MB, free: 8.555 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.0134, allocations: 187.4 kB / 253.7 MB, free: 8.371 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.01362, allocations: 307.9 kB / 254 MB, free: 8.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007695/0.01439, allocations: 0.8873 MB / 254.9 MB, free: 7.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.0144, allocations: 0.8438 kB / 254.9 MB, free: 7.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.0144, allocations: 0 / 254.9 MB, free: 7.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.01442, allocations: 5.625 kB / 254.9 MB, free: 7.176 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.001736/0.01616, allocations: 1.647 MB / 256.5 MB, free: 5.473 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.01619, allocations: 16.03 kB / 256.5 MB, free: 5.457 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.01736, allocations: 0.5003 MB / 257 MB, free: 4.957 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005148/0.01788, allocations: 371.1 kB / 257.4 MB, free: 4.566 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.915e-05/0.01793, allocations: 78.38 kB / 257.5 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.01803, allocations: 100.4 kB / 257.6 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007226/0.01875, allocations: 0.8242 MB / 258.4 MB, free: 3.516 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.01877, allocations: 12.17 kB / 258.4 MB, free: 3.504 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-05/0.01882, allocations: 44.12 kB / 258.4 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.01884, allocations: 24 kB / 258.5 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.01922, allocations: 317.7 kB / 258.8 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.02157, allocations: 2.419 MB / 261.2 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007766/0.02234, allocations: 0.6596 MB / 261.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.02264, allocations: 253.5 kB / 262.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.518e-05/0.0227, allocations: 32.58 kB / 262.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003539/0.02306, allocations: 451.5 kB / 262.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.084e-06/0.02306, allocations: 4 kB / 262.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.001632/0.02469, allocations: 0.9598 MB / 263.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.02473, allocations: 90.17 kB / 263.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.02495, allocations: 395.1 kB / 264 MB, free: 13.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.02499, allocations: 41.7 kB / 264.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.0252, allocations: 385.6 kB / 264.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.02534, allocations: 293.4 kB / 264.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.02548, allocations: 154.5 kB / 264.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.02557, allocations: 378.6 kB / 265.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.02567, allocations: 85.95 kB / 265.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.02589, allocations: 414 kB / 265.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.02626, allocations: 463.3 kB / 266.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.02627, allocations: 0 / 266.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0006036/0.02687, allocations: 0.565 MB / 266.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.02689, allocations: 12.09 kB / 266.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.0269, allocations: 4 kB / 266.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004944/0.02739, allocations: 247.5 kB / 267 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.0277, allocations: 163.7 kB / 267.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.03, allocations: 3.59 MB / 270.7 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.03025, allocations: 87.48 kB / 270.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.03028, allocations: 24 kB / 270.9 MB, free: 6.418 MB / 266.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.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,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 (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.0001562/0.03044, allocations: 180.4 kB / 271 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.0305, allocations: 71.92 kB / 271.1 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006618/0.03116, allocations: 0.5352 MB / 271.6 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.03117, allocations: 12 kB / 271.7 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.03117, allocations: 0 / 271.7 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.03118, allocations: 3.984 kB / 271.7 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.03222, allocations: 0.9745 MB / 272.6 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.03223, allocations: 3.938 kB / 272.6 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.03244, allocations: 107.8 kB / 272.7 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.03257, allocations: 79.47 kB / 272.8 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004242/0.033, allocations: 224 kB / 273 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.03303, allocations: 23.98 kB / 273.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.03509, allocations: 3.535 MB / 276.6 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.0351, allocations: 4 kB / 276.6 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000709/0.0358, allocations: 0.7184 MB / 277.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.03585, allocations: 16 kB / 277.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.03604, allocations: 39.92 kB / 277.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.03614, allocations: 76.8 kB / 277.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.03617, allocations: 23.98 kB / 277.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.03628, allocations: 156.7 kB / 277.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03628, allocations: 0 / 277.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005824/0.03686, allocations: 319.3 kB / 277.9 MB, free: 15.08 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,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.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.0001815/0.03704, allocations: 140.3 kB / 278.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007185/0.03776, allocations: 0.7673 MB / 278.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.789e-05/0.03778, allocations: 8 kB / 278.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004881/0.03826, allocations: 0.6324 MB / 279.5 MB, free: 13.47 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/0.03881, allocations: 0.999 MB / 280.5 MB, free: 12.28 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005586/0.0444, allocations: 1.579 MB / 282.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.04452, allocations: 184.6 kB / 282.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.0447, allocations: 77.2 kB / 282.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.04494, allocations: 185.2 kB / 282.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.04494, allocations: 0 / 282.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of Templates: time 0.0149/0.05983, allocations: 12.74 MB / 295.2 MB, free: 13.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7356558265164495]