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.001102/0.001102, allocations: 85.95 kB / 23 MB, free: 1.504 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.001138/0.001138, allocations: 172.1 kB / 26.39 MB, free: 8 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.963/0.963, allocations: 158.6 MB / 188.3 MB, free: 2.809 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.222e-06/1.222e-06, allocations: 3.938 kB / 252.3 MB, free: 7.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.515e-05, allocations: 6.25 kB / 252.3 MB, free: 7.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002888/0.002913, allocations: 2.455 MB / 254.7 MB, free: 4.867 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.003937, allocations: 0.667 MB / 255.4 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.004047, allocations: 8 kB / 255.4 MB, free: 4.188 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.004178, allocations: 31.64 kB / 255.4 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.004285, allocations: 83.27 kB / 255.5 MB, free: 4.074 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.004547, allocations: 67.84 kB / 255.6 MB, free: 4.008 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.004799, allocations: 294.4 kB / 255.9 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.004933, allocations: 52.55 kB / 255.9 MB, free: 3.668 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.005135, allocations: 167.5 kB / 256.1 MB, free: 3.504 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.005256, allocations: 95.75 kB / 256.2 MB, free: 3.41 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.005284, allocations: 20 kB / 256.2 MB, free: 3.391 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.765e-05/0.005352, allocations: 32 kB / 256.2 MB, free: 3.359 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.00539, allocations: 55.75 kB / 256.3 MB, free: 3.305 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.418e-05/0.005454, allocations: 83.83 kB / 256.3 MB, free: 3.223 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.005669, allocations: 191.3 kB / 256.5 MB, free: 3.035 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005672, allocations: 0 / 256.5 MB, free: 3.035 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005672, allocations: 4 kB / 256.5 MB, free: 3.031 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.005677, allocations: 0 / 256.5 MB, free: 3.031 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.0005571/0.006234, allocations: 0.5624 MB / 257.1 MB, free: 2.434 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.006267, allocations: 15.98 kB / 257.1 MB, free: 2.418 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.006322, allocations: 40.73 kB / 257.2 MB, free: 2.379 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.006515, allocations: 180.9 kB / 257.3 MB, free: 2.176 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.00653, allocations: 16.88 kB / 257.4 MB, free: 2.16 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.006566, allocations: 24.33 kB / 257.4 MB, free: 2.137 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.00681, allocations: 204.8 kB / 257.6 MB, free: 1.91 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.006821, allocations: 4.188 kB / 257.6 MB, free: 1.906 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.006837, allocations: 11.94 kB / 257.6 MB, free: 1.895 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.006843, allocations: 4 kB / 257.6 MB, free: 1.891 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.006944, allocations: 65.38 kB / 257.7 MB, free: 1.828 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007212/0.007665, allocations: 0.6256 MB / 258.3 MB, free: 1.164 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.007837, allocations: 114.9 kB / 258.4 MB, free: 1.039 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.565e-05/0.007922, allocations: 67.62 kB / 258.5 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.00794, allocations: 4 kB / 258.5 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.007965, allocations: 33.39 kB / 258.5 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.007966, allocations: 0 / 258.5 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006282/0.008595, allocations: 261.2 kB / 258.8 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.00862, allocations: 55.41 kB / 258.8 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.008745, allocations: 221.8 kB / 259 MB, free: 364 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.008762, allocations: 29.7 kB / 259.1 MB, free: 328 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/0.008845, allocations: 191.1 kB / 259.2 MB, free: 132 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.008879, allocations: 63.42 kB / 259.3 MB, free: 68 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.008931, allocations: 43.34 kB / 259.3 MB, free: 16 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.009073, allocations: 0.4962 MB / 259.8 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.399e-05/0.009107, allocations: 19.98 kB / 259.9 MB, free: 15.48 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.676e-05/0.009154, allocations: 55.2 kB / 259.9 MB, free: 15.42 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.42e-05/0.009238, allocations: 75.23 kB / 260 MB, free: 15.34 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.00924, allocations: 4 kB / 260 MB, free: 15.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001856/0.009426, allocations: 157.1 kB / 260.1 MB, free: 15.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.00944, allocations: 8 kB / 260.2 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.009445, allocations: 0 / 260.2 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005859/0.01003, allocations: 171.5 kB / 260.3 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.01011, allocations: 31.92 kB / 260.4 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003629/0.01047, allocations: 0.8506 MB / 261.2 MB, free: 14.08 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.417e-05/0.01052, allocations: 19.92 kB / 261.2 MB, free: 14.06 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.01053, allocations: 4 kB / 261.2 MB, free: 14.06 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.643e-05/0.01063, allocations: 164.5 kB / 261.4 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.01066, allocations: 19.91 kB / 261.4 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.01089, allocations: 163 kB / 261.6 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01089, allocations: 4 kB / 261.6 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.0109, allocations: 0 / 261.6 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.0109, allocations: 0 / 261.6 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.01133, allocations: 484.6 kB / 262 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.01133, allocations: 0 / 262 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.965e-05/0.01141, allocations: 23.98 kB / 262.1 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/0.01185, allocations: 159.5 kB / 262.2 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.01187, allocations: 8 kB / 262.2 MB, free: 12.99 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003286/0.01219, allocations: 0.8623 MB / 263.1 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.0122, allocations: 0 / 263.1 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.01256, allocations: 387.1 kB / 263.5 MB, free: 11.69 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.477e-05/0.01258, allocations: 23.83 kB / 263.5 MB, free: 11.66 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.0126, allocations: 0 / 263.5 MB, free: 11.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.628e-05/0.01266, allocations: 12 kB / 263.5 MB, free: 11.65 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.0127, allocations: 15.91 kB / 263.5 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.01271, allocations: 4 kB / 263.5 MB, free: 11.63 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.064e-05/0.01277, allocations: 164.1 kB / 263.7 MB, free: 11.47 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01277, allocations: 0 / 263.7 MB, free: 11.47 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001965/0.01296, allocations: 55.89 kB / 263.7 MB, free: 11.42 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.0001293/0.01309, allocations: 111.2 kB / 263.8 MB, free: 11.3 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.01328, allocations: 105 kB / 263.9 MB, free: 11.2 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01328, allocations: 0 / 263.9 MB, free: 11.2 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.265e-05/0.01335, allocations: 60.77 kB / 264 MB, free: 11.13 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.01358, allocations: 27.92 kB / 264 MB, free: 11.11 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008135/0.01439, allocations: 0.499 MB / 264.5 MB, free: 10.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.58e-05/0.01444, allocations: 76.22 kB / 264.6 MB, free: 10.48 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.263e-05/0.01448, allocations: 13.48 kB / 264.6 MB, free: 10.46 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.01456, allocations: 94.19 kB / 264.7 MB, free: 10.37 MB / 250.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01456, allocations: 0 / 264.7 MB, free: 10.37 MB / 250.7 MB Notification: Performance of Templates: time 0.004462/0.01903, allocations: 2.454 MB / 267.2 MB, free: 7.93 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.9007610622793436]