Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.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.001095/0.001095, allocations: 80.62 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001421/0.001421, allocations: 143.8 kB / 25.59 MB, free: 8.582 MB / 18.57 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.9578/0.9578, allocations: 173.4 MB / 202.2 MB, free: 8.305 MB / 186.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.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 269.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.837e-05, allocations: 6.25 kB / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003586/0.003604, allocations: 4.12 MB / 273.3 MB, free: 5.633 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.004984, allocations: 0.9082 MB / 274.2 MB, free: 4.727 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.005185, allocations: 8 kB / 274.3 MB, free: 4.719 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.005386, allocations: 102.9 kB / 274.4 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003927/0.005779, allocations: 218.7 kB / 274.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.006028, allocations: 159.7 kB / 274.7 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005541/0.006582, allocations: 0.7604 MB / 275.5 MB, free: 3.488 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.006792, allocations: 147.6 kB / 275.6 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003764/0.007169, allocations: 427 kB / 276 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.007418, allocations: 248.4 kB / 276.3 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.707e-05/0.007485, allocations: 64 kB / 276.3 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.683e-05/0.007542, allocations: 64 kB / 276.4 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.007649, allocations: 147.4 kB / 276.6 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.007797, allocations: 235.4 kB / 276.8 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.008157, allocations: 490.1 kB / 277.3 MB, free: 1.699 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.008159, allocations: 0 / 277.3 MB, free: 1.699 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.00816, allocations: 0 / 277.3 MB, free: 1.699 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.008165, allocations: 0 / 277.3 MB, free: 1.699 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0008941/0.009059, allocations: 0.9553 MB / 278.2 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.009089, allocations: 8.031 kB / 278.2 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.009196, allocations: 112.5 kB / 278.3 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.009486, allocations: 326.4 kB / 278.7 MB, free: 244 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.009509, allocations: 37.69 kB / 278.7 MB, free: 208 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.009558, allocations: 52.38 kB / 278.7 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.009947, allocations: 427.4 kB / 279.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.00996, allocations: 4.125 kB / 279.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.009988, allocations: 28.12 kB / 279.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.009998, allocations: 12 kB / 279.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.01024, allocations: 214.7 kB / 279.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.01175, allocations: 1.976 MB / 281.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.01213, allocations: 415.8 kB / 281.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.01235, allocations: 233.7 kB / 282 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.01238, allocations: 12.5 kB / 282 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.0124, allocations: 37.89 kB / 282.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 1.603e-06/0.0124, allocations: 0 / 282.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.001788/0.01419, allocations: 1.221 MB / 283.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.01422, allocations: 63.84 kB / 283.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.01441, allocations: 358.5 kB / 283.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.01443, allocations: 41.7 kB / 283.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.01454, allocations: 288 kB / 284 MB, free: 10.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.721e-05/0.01464, allocations: 206.2 kB / 284.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.38e-05/0.01473, allocations: 103.9 kB / 284.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.01486, allocations: 0.5273 MB / 284.9 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.515e-05/0.01495, allocations: 65.25 kB / 284.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.01506, allocations: 118.5 kB / 285 MB, free: 9.594 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.01527, allocations: 207.7 kB / 285.2 MB, free: 9.383 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01527, allocations: 4 kB / 285.2 MB, free: 9.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000469/0.01574, allocations: 471.4 kB / 285.7 MB, free: 8.895 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.01575, allocations: 4 kB / 285.7 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01576, allocations: 0 / 285.7 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003557/0.01611, allocations: 214.5 kB / 285.9 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.01627, allocations: 59.91 kB / 286 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003829/0.0201, allocations: 8.719 MB / 294.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.02022, allocations: 19.98 kB / 294.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.02024, allocations: 11.94 kB / 294.7 MB, free: 15.41 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.02037, allocations: 184.6 kB / 294.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.02044, allocations: 71.67 kB / 295 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/0.02049, allocations: 60.75 kB / 295 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.02049, allocations: 8 kB / 295 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.0205, allocations: 0 / 295 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.02051, allocations: 3.984 kB / 295 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009053/0.02141, allocations: 0.928 MB / 296 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.02142, allocations: 3.984 kB / 296 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.02155, allocations: 59.91 kB / 296 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003234/0.02188, allocations: 206.5 kB / 296.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.0219, allocations: 12 kB / 296.3 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003612/0.02551, allocations: 8.702 MB / 305 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.02551, allocations: 0 / 305 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006634/0.02617, allocations: 0.7274 MB / 305.7 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.64e-05/0.02627, allocations: 79.62 kB / 305.8 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.0263, allocations: 12 kB / 305.8 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.02642, allocations: 12 kB / 305.8 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.682e-05/0.0265, allocations: 60.39 kB / 305.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.02652, allocations: 8 kB / 305.9 MB, free: 3.719 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.02663, allocations: 247 kB / 306.1 MB, free: 3.484 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02663, allocations: 0 / 306.1 MB, free: 3.484 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005364/0.02716, allocations: 172 kB / 306.3 MB, free: 3.316 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001026/0.02727, allocations: 119.1 kB / 306.4 MB, free: 3.191 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007653/0.02803, allocations: 1.057 MB / 307.4 MB, free: 2.059 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02803, allocations: 4.062 kB / 307.4 MB, free: 2.055 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000604/0.02864, allocations: 0.9747 MB / 308.4 MB, free: 1.008 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.02893, allocations: 81.52 kB / 308.5 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.03034, allocations: 1.15 MB / 309.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.03045, allocations: 146.8 kB / 309.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.183e-05/0.03053, allocations: 32.38 kB / 309.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.03081, allocations: 146.2 kB / 310 MB, free: 15.4 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03081, allocations: 4 kB / 310 MB, free: 15.4 MB / 298.7 MB Notification: Performance of Templates: time 0.01149/0.0423, allocations: 9.244 MB / 319.2 MB, free: 6.273 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/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.026425290852785]