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.001277/0.001277, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002003/0.00328, allocations: 453.8 kB / 10.46 MB, free: 236 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.001215/0.001215, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001571/0.002785, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.9629/0.9629, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1561/1.119, allocations: 49.5 MB / 220.7 MB, free: 1.348 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.392e-06/1.392e-06, allocations: 0 / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.023e-05, allocations: 6.312 kB / 222 MB, free: 44 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.005647/0.005667, allocations: 6.057 MB / 228.1 MB, free: 9.945 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003491/0.009158, allocations: 2.223 MB / 230.3 MB, free: 7.711 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003765/0.009535, allocations: 19.94 kB / 230.3 MB, free: 7.691 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.01057, allocations: 0.8002 MB / 231.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009734/0.01154, allocations: 0.6208 MB / 231.7 MB, free: 6.262 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006416/0.01219, allocations: 0.4907 MB / 232.2 MB, free: 5.77 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009406/0.01313, allocations: 1.236 MB / 233.4 MB, free: 4.531 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00077/0.0139, allocations: 0.7417 MB / 234.2 MB, free: 3.762 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006315/0.01453, allocations: 0.7612 MB / 234.9 MB, free: 3 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004596/0.01499, allocations: 438.8 kB / 235.4 MB, free: 2.57 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.0151, allocations: 115.9 kB / 235.5 MB, free: 2.457 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.01552, allocations: 267.7 kB / 235.8 MB, free: 2.195 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.01564, allocations: 191.3 kB / 235.9 MB, free: 2.008 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.01588, allocations: 311.4 kB / 236.2 MB, free: 1.703 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008688/0.01675, allocations: 0.8912 MB / 237.1 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-05/0.01676, allocations: 0 / 237.1 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01676, allocations: 3.938 kB / 237.1 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.01678, allocations: 4 kB / 237.1 MB, free: 0.8008 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.001944/0.01873, allocations: 1.679 MB / 238.8 MB, free: 15.07 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.01876, allocations: 12.03 kB / 238.8 MB, free: 15.06 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/0.0207, allocations: 0.6446 MB / 239.5 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006819/0.02138, allocations: 363.1 kB / 239.8 MB, free: 14.04 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.037e-05/0.02145, allocations: 82.41 kB / 239.9 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.0216, allocations: 104.4 kB / 240 MB, free: 13.85 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.0228, allocations: 0.8519 MB / 240.9 MB, free: 12.92 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.02283, allocations: 4.172 kB / 240.9 MB, free: 12.92 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.765e-05/0.02292, allocations: 51.94 kB / 240.9 MB, free: 12.87 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/0.02295, allocations: 24 kB / 240.9 MB, free: 12.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007203/0.02367, allocations: 345.7 kB / 241.3 MB, free: 12.5 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003164/0.02684, allocations: 2.485 MB / 243.8 MB, free: 9.906 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009177/0.02776, allocations: 0.7382 MB / 244.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.02808, allocations: 255.5 kB / 244.8 MB, free: 8.895 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-05/0.02815, allocations: 24.64 kB / 244.8 MB, free: 8.871 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003811/0.02853, allocations: 455.6 kB / 245.2 MB, free: 8.367 MB / 250.7 MB Notification: Performance of pre-optimization done (n=86): time 3.226e-06/0.02853, allocations: 4 kB / 245.2 MB, free: 8.363 MB / 250.7 MB Notification: Performance of matching and sorting (n=86): time 0.001685/0.03022, allocations: 0.9676 MB / 246.2 MB, free: 7.387 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.03026, allocations: 90.11 kB / 246.3 MB, free: 7.281 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.0305, allocations: 419.1 kB / 246.7 MB, free: 6.859 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.03054, allocations: 41.7 kB / 246.7 MB, free: 6.812 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.03071, allocations: 393.6 kB / 247.1 MB, free: 6.422 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.03086, allocations: 301.4 kB / 247.4 MB, free: 6.125 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.031, allocations: 162.5 kB / 247.6 MB, free: 5.961 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.03112, allocations: 390.5 kB / 248 MB, free: 5.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.03124, allocations: 93.95 kB / 248 MB, free: 5.477 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.03154, allocations: 447.3 kB / 248.5 MB, free: 4.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.03198, allocations: 0.5238 MB / 249 MB, free: 4.293 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.03199, allocations: 0 / 249 MB, free: 4.293 MB / 250.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0006606/0.03265, allocations: 0.604 MB / 249.6 MB, free: 3.676 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.03266, allocations: 11.94 kB / 249.6 MB, free: 3.664 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.03267, allocations: 8 kB / 249.6 MB, free: 3.656 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004857/0.03316, allocations: 241.7 kB / 249.9 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.03348, allocations: 179.7 kB / 250 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/0.03628, allocations: 3.599 MB / 253.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.03656, allocations: 103.4 kB / 253.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.0366, allocations: 31.98 kB / 253.8 MB, free: 15.34 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.0001925/0.03679, allocations: 176.4 kB / 253.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.03687, allocations: 71.94 kB / 254 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006393/0.03751, allocations: 0.5278 MB / 254.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.03752, allocations: 15.98 kB / 254.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.03752, allocations: 3.938 kB / 254.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.03753, allocations: 3.984 kB / 254.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.03872, allocations: 0.9862 MB / 255.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.03873, allocations: 7.969 kB / 255.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.03896, allocations: 111.9 kB / 255.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.03909, allocations: 87.38 kB / 255.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/0.03955, allocations: 229.4 kB / 256 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.03958, allocations: 19.98 kB / 256 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/0.04203, allocations: 3.54 MB / 259.5 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.04203, allocations: 0 / 259.5 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007711/0.0428, allocations: 0.7262 MB / 260.3 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.04285, allocations: 19.94 kB / 260.3 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.04304, allocations: 44 kB / 260.3 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.04316, allocations: 80.8 kB / 260.4 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.04319, allocations: 15.98 kB / 260.4 MB, free: 8.418 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.04332, allocations: 168.7 kB / 260.6 MB, free: 8.254 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04332, allocations: 0 / 260.6 MB, free: 8.254 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000676/0.04399, allocations: 319.3 kB / 260.9 MB, free: 7.941 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.0002308/0.04423, allocations: 136.2 kB / 261 MB, free: 7.801 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008718/0.0451, allocations: 0.7867 MB / 261.8 MB, free: 6.992 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.328e-05/0.04512, allocations: 12 kB / 261.8 MB, free: 6.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005328/0.04565, allocations: 0.6234 MB / 262.5 MB, free: 6.324 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006847/0.04634, allocations: 1.008 MB / 263.5 MB, free: 5.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006172/0.05251, allocations: 1.639 MB / 265.1 MB, free: 3.445 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.05269, allocations: 192.7 kB / 265.3 MB, free: 3.234 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002307/0.05292, allocations: 81.44 kB / 265.4 MB, free: 3.152 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.05321, allocations: 177.3 kB / 265.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of SimCode: time 1.553e-06/0.05321, allocations: 0 / 265.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of Templates: time 0.01579/0.06899, allocations: 12.84 MB / 278.4 MB, free: 6.148 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0957778496667743]