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.001415/0.001415, allocations: 76.31 kB / 22.2 MB, free: 2.301 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.002182/0.002182, allocations: 176.7 kB / 25.6 MB, free: 8.617 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 1.082/1.082, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.663e-06/1.663e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.349e-05, allocations: 2.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002952/0.002986, allocations: 2.467 MB / 253.9 MB, free: 4.77 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009361/0.003922, allocations: 0.667 MB / 254.6 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.004028, allocations: 4 kB / 254.6 MB, free: 4.094 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.004162, allocations: 31.64 kB / 254.6 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.004331, allocations: 71.3 kB / 254.7 MB, free: 3.992 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.004715, allocations: 83.81 kB / 254.8 MB, free: 3.91 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.00509, allocations: 290.4 kB / 255.1 MB, free: 3.625 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.005322, allocations: 52.55 kB / 255.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.005583, allocations: 167.5 kB / 255.3 MB, free: 3.41 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.005722, allocations: 87.77 kB / 255.4 MB, free: 3.324 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.005754, allocations: 20 kB / 255.4 MB, free: 3.305 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.674e-05/0.00584, allocations: 35.98 kB / 255.4 MB, free: 3.27 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.005886, allocations: 55.75 kB / 255.5 MB, free: 3.215 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.836e-05/0.005955, allocations: 83.83 kB / 255.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.006215, allocations: 191.3 kB / 255.7 MB, free: 2.945 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.006218, allocations: 4 kB / 255.8 MB, free: 2.941 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.00622, allocations: 4 kB / 255.8 MB, free: 2.938 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.006226, allocations: 3.984 kB / 255.8 MB, free: 2.934 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.0006451/0.006871, allocations: 0.5623 MB / 256.3 MB, free: 2.336 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.006915, allocations: 15.98 kB / 256.3 MB, free: 2.32 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.006979, allocations: 40.8 kB / 256.4 MB, free: 2.281 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.007201, allocations: 188.9 kB / 256.6 MB, free: 2.07 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.007219, allocations: 12.88 kB / 256.6 MB, free: 2.059 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.007258, allocations: 24.33 kB / 256.6 MB, free: 2.035 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.007538, allocations: 196.8 kB / 256.8 MB, free: 1.82 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.007554, allocations: 192 / 256.8 MB, free: 1.82 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.007575, allocations: 11.94 kB / 256.8 MB, free: 1.809 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.007584, allocations: 7.984 kB / 256.8 MB, free: 1.801 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.007694, allocations: 69.36 kB / 256.9 MB, free: 1.734 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008474/0.008541, allocations: 0.6217 MB / 257.5 MB, free: 1.07 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.008717, allocations: 114.9 kB / 257.6 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.934e-05/0.008806, allocations: 59.66 kB / 257.7 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.008826, allocations: 4 kB / 257.7 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.008853, allocations: 37.39 kB / 257.7 MB, free: 0.832 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.854e-06/0.008855, allocations: 0 / 257.7 MB, free: 0.832 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006418/0.009497, allocations: 272.6 kB / 258 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.009527, allocations: 51.41 kB / 258 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.009649, allocations: 221.8 kB / 258.2 MB, free: 268 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.009667, allocations: 25.7 kB / 258.3 MB, free: 236 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.865e-05/0.009756, allocations: 195.1 kB / 258.5 MB, free: 36 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.009809, allocations: 59.61 kB / 258.5 MB, free: 15.97 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.009866, allocations: 43.34 kB / 258.6 MB, free: 15.92 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.009995, allocations: 0.504 MB / 259.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.01003, allocations: 19.98 kB / 259.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.516e-05/0.01008, allocations: 55.02 kB / 259.1 MB, free: 15.33 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.134e-05/0.01018, allocations: 71.34 kB / 259.2 MB, free: 15.25 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01018, allocations: 4 kB / 259.2 MB, free: 15.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002037/0.01038, allocations: 153.1 kB / 259.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.0104, allocations: 7.938 kB / 259.4 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.0104, allocations: 0 / 259.4 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/0.01098, allocations: 179.5 kB / 259.5 MB, free: 14.9 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.01106, allocations: 31.92 kB / 259.6 MB, free: 14.87 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003924/0.01145, allocations: 0.839 MB / 260.4 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.01151, allocations: 15.89 kB / 260.4 MB, free: 13.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-06/0.01152, allocations: 4 kB / 260.4 MB, free: 13.98 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 9.19e-05/0.01161, allocations: 164.5 kB / 260.6 MB, free: 13.8 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.01165, allocations: 27.84 kB / 260.6 MB, free: 13.78 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.01188, allocations: 171.2 kB / 260.8 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.01188, allocations: 0 / 260.8 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01189, allocations: 3.938 kB / 260.8 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.01189, allocations: 7.984 kB / 260.8 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.01235, allocations: 461.1 kB / 261.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01235, allocations: 0 / 261.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.941e-05/0.01243, allocations: 27.98 kB / 261.3 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004158/0.01285, allocations: 167.4 kB / 261.4 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.01286, allocations: 8 kB / 261.4 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003641/0.01323, allocations: 0.8584 MB / 262.3 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.01323, allocations: 4 kB / 262.3 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.01359, allocations: 382.8 kB / 262.7 MB, free: 11.59 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.01362, allocations: 23.84 kB / 262.7 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.01363, allocations: 0 / 262.7 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.01369, allocations: 8.062 kB / 262.7 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.01373, allocations: 19.91 kB / 262.7 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.01373, allocations: 8 kB / 262.7 MB, free: 11.54 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.29e-05/0.0138, allocations: 160.1 kB / 262.9 MB, free: 11.38 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0138, allocations: 0 / 262.9 MB, free: 11.38 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.014, allocations: 59.88 kB / 263 MB, free: 11.32 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.0001441/0.01414, allocations: 107.2 kB / 263.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.01434, allocations: 101 kB / 263.2 MB, free: 11.11 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01434, allocations: 4.062 kB / 263.2 MB, free: 11.1 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.01441, allocations: 68.75 kB / 263.2 MB, free: 11.03 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.01462, allocations: 23.98 kB / 263.3 MB, free: 11.01 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009553/0.01558, allocations: 495 kB / 263.7 MB, free: 10.49 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.358e-05/0.01563, allocations: 76.22 kB / 263.8 MB, free: 10.39 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.998e-05/0.01568, allocations: 13.48 kB / 263.8 MB, free: 10.38 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.01577, allocations: 94.19 kB / 263.9 MB, free: 10.29 MB / 250.7 MB Notification: Performance of SimCode: time 1.783e-06/0.01577, allocations: 0 / 263.9 MB, free: 10.29 MB / 250.7 MB Notification: Performance of Templates: time 0.005611/0.02138, allocations: 2.419 MB / 266.3 MB, free: 7.887 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 -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.938039056956768]