Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.0009785/0.0009785, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001801/0.001801, allocations: 167 kB / 25.7 MB, free: 8.402 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.9361/0.9361, allocations: 158.6 MB / 187.6 MB, free: 2.773 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.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.115e-05, allocations: 6.25 kB / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.006478/0.006499, allocations: 2.534 MB / 254.1 MB, free: 4.676 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004411/0.01091, allocations: 0.6709 MB / 254.8 MB, free: 4 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.01104, allocations: 7.938 kB / 254.8 MB, free: 3.992 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.01117, allocations: 27.72 kB / 254.8 MB, free: 3.965 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.01131, allocations: 79.27 kB / 254.9 MB, free: 3.887 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.01158, allocations: 79.78 kB / 255 MB, free: 3.809 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.01185, allocations: 290.4 kB / 255.2 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.012, allocations: 66.45 kB / 255.3 MB, free: 3.461 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.01222, allocations: 159.6 kB / 255.5 MB, free: 3.305 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.01236, allocations: 87.7 kB / 255.6 MB, free: 3.219 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.0124, allocations: 24 kB / 255.6 MB, free: 3.195 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.645e-05/0.01249, allocations: 39.92 kB / 255.6 MB, free: 3.156 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.107e-05/0.01254, allocations: 51.81 kB / 255.7 MB, free: 3.105 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.374e-05/0.01262, allocations: 83.83 kB / 255.7 MB, free: 3.023 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.01287, allocations: 191.3 kB / 255.9 MB, free: 2.832 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.01288, allocations: 0 / 255.9 MB, free: 2.832 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01288, allocations: 4 kB / 255.9 MB, free: 2.828 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.01288, allocations: 0 / 255.9 MB, free: 2.828 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.003607/0.01649, allocations: 440.2 kB / 256.4 MB, free: 2.375 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.01653, allocations: 15.98 kB / 256.4 MB, free: 2.359 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.403e-05/0.0166, allocations: 36.91 kB / 256.4 MB, free: 2.324 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.0168, allocations: 154.2 kB / 256.6 MB, free: 2.148 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.01682, allocations: 16.88 kB / 256.6 MB, free: 2.133 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.01685, allocations: 20.38 kB / 256.6 MB, free: 2.113 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.01709, allocations: 204.7 kB / 256.8 MB, free: 1.891 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.0171, allocations: 192 / 256.8 MB, free: 1.891 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.01712, allocations: 15.94 kB / 256.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.01713, allocations: 4 kB / 256.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.01724, allocations: 53.47 kB / 256.9 MB, free: 1.82 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008038/0.01804, allocations: 0.5122 MB / 257.4 MB, free: 1.281 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.01822, allocations: 94.38 kB / 257.5 MB, free: 1.18 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.01834, allocations: 60.81 kB / 257.5 MB, free: 1.117 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.01836, allocations: 0 / 257.5 MB, free: 1.117 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.01839, allocations: 34.56 kB / 257.6 MB, free: 1.074 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.993e-06/0.01839, allocations: 0 / 257.6 MB, free: 1.074 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006833/0.01907, allocations: 234.2 kB / 257.8 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.0191, allocations: 59.41 kB / 257.9 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/0.02223, allocations: 150.6 kB / 258 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.02225, allocations: 33.7 kB / 258 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.202e-05/0.02234, allocations: 136.4 kB / 258.2 MB, free: 440 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.02238, allocations: 59.47 kB / 258.2 MB, free: 380 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.02244, allocations: 37.69 kB / 258.3 MB, free: 336 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.02254, allocations: 330.8 kB / 258.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.535e-05/0.02258, allocations: 23.88 kB / 258.6 MB, free: 15.97 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.771e-05/0.02263, allocations: 37.7 kB / 258.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.914e-05/0.02273, allocations: 73.86 kB / 258.7 MB, free: 15.85 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.02273, allocations: 0 / 258.7 MB, free: 15.85 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001971/0.02292, allocations: 126.3 kB / 258.9 MB, free: 15.72 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.02294, allocations: 8 kB / 258.9 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.02295, allocations: 0 / 258.9 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000664/0.02361, allocations: 160.6 kB / 259 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.02394, allocations: 39.98 kB / 259.1 MB, free: 15.51 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003246/0.02427, allocations: 0.564 MB / 259.6 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.02433, allocations: 11.89 kB / 259.6 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.02435, allocations: 8 kB / 259.6 MB, free: 14.9 MB / 250.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 8.679e-05/0.02443, allocations: 121.8 kB / 259.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.02447, allocations: 19.92 kB / 259.8 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.0247, allocations: 140.2 kB / 259.9 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.0247, allocations: 0 / 259.9 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.02471, allocations: 4.031 kB / 259.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.02471, allocations: 3.984 kB / 259.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003479/0.02819, allocations: 371.4 kB / 260.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.02819, allocations: 0 / 260.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.02832, allocations: 31.97 kB / 260.3 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000516/0.02884, allocations: 156.6 kB / 260.5 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.02885, allocations: 0 / 260.5 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005543/0.0294, allocations: 0.5795 MB / 261 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.0294, allocations: 4.031 kB / 261.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.02978, allocations: 293.6 kB / 261.3 MB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.02981, allocations: 15.84 kB / 261.4 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.02983, allocations: 11.98 kB / 261.4 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.02992, allocations: 8 kB / 261.4 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.02995, allocations: 11.92 kB / 261.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.02996, allocations: 12.02 kB / 261.4 MB, free: 13.04 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.375e-05/0.03001, allocations: 45.81 kB / 261.4 MB, free: 13 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03001, allocations: 0 / 261.4 MB, free: 13 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.03026, allocations: 59.88 kB / 261.5 MB, free: 12.94 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001336/0.0304, allocations: 92.3 kB / 261.6 MB, free: 12.84 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.0306, allocations: 93.77 kB / 261.7 MB, free: 12.74 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.03061, allocations: 0 / 261.7 MB, free: 12.74 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.693e-05/0.03069, allocations: 69.95 kB / 261.8 MB, free: 12.67 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.03091, allocations: 24.06 kB / 261.8 MB, free: 12.65 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/0.03489, allocations: 482.3 kB / 262.2 MB, free: 12.15 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.869e-05/0.03494, allocations: 80.2 kB / 262.3 MB, free: 12.05 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.166e-05/0.03501, allocations: 9.5 kB / 262.3 MB, free: 12.04 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.837e-05/0.0351, allocations: 79.34 kB / 262.4 MB, free: 11.96 MB / 250.7 MB Notification: Performance of SimCode: time 1.132e-06/0.03511, allocations: 0 / 262.4 MB, free: 11.96 MB / 250.7 MB Notification: Performance of Templates: time 0.01149/0.04659, allocations: 2.464 MB / 264.9 MB, free: 9.516 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.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: 2.715712457895279]