Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001359/0.001359, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002214/0.003573, allocations: 449.8 kB / 10.44 MB, free: 252 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.001223/0.001223, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001807/0.00303, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.021/1.021, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1088/1.13, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.562e-05, allocations: 2.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002858/0.002874, allocations: 2.608 MB / 247.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.003925, allocations: 0.7048 MB / 248 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.004045, allocations: 7.938 kB / 248 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.441e-05/0.004139, allocations: 39.64 kB / 248.1 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.004255, allocations: 79.27 kB / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.00448, allocations: 95.7 kB / 248.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.00478, allocations: 290.5 kB / 248.5 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.004933, allocations: 62.45 kB / 248.6 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.005236, allocations: 195.6 kB / 248.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.005391, allocations: 79.78 kB / 248.9 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.005425, allocations: 20 kB / 248.9 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.005543, allocations: 51.92 kB / 248.9 MB, free: 9.973 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.005585, allocations: 35.88 kB / 249 MB, free: 9.938 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.797e-05/0.005653, allocations: 71.88 kB / 249 MB, free: 9.867 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.005891, allocations: 187.3 kB / 249.2 MB, free: 9.684 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.005902, allocations: 0 / 249.2 MB, free: 9.684 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005903, allocations: 0 / 249.2 MB, free: 9.684 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.005912, allocations: 0 / 249.2 MB, free: 9.684 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005966/0.006509, allocations: 0.4959 MB / 249.7 MB, free: 9.164 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.006542, allocations: 8.031 kB / 249.7 MB, free: 9.156 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.006715, allocations: 122 kB / 249.8 MB, free: 9.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.006907, allocations: 161.4 kB / 250 MB, free: 8.836 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.006921, allocations: 16.88 kB / 250 MB, free: 8.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.006956, allocations: 24.31 kB / 250 MB, free: 8.797 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.007156, allocations: 196.8 kB / 250.2 MB, free: 8.586 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.007167, allocations: 4.188 kB / 250.2 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.00718, allocations: 8.375 kB / 250.2 MB, free: 8.574 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.007191, allocations: 11.92 kB / 250.3 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.789e-05/0.007278, allocations: 57.47 kB / 250.3 MB, free: 8.504 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000636/0.007914, allocations: 0.5005 MB / 250.8 MB, free: 7.973 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.008065, allocations: 98.47 kB / 250.9 MB, free: 7.867 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.713e-05/0.008142, allocations: 55.48 kB / 251 MB, free: 7.812 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.008162, allocations: 7.984 kB / 251 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.008187, allocations: 38.56 kB / 251 MB, free: 7.758 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.008188, allocations: 0 / 251 MB, free: 7.758 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005168/0.008705, allocations: 234.4 kB / 251.2 MB, free: 7.52 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.008732, allocations: 55.41 kB / 251.3 MB, free: 7.453 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.291e-05/0.008825, allocations: 167.1 kB / 251.5 MB, free: 7.277 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.00884, allocations: 33.7 kB / 251.5 MB, free: 7.238 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.008897, allocations: 144.4 kB / 251.6 MB, free: 7.094 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.008936, allocations: 59.47 kB / 251.7 MB, free: 7.035 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.00898, allocations: 41.62 kB / 251.7 MB, free: 6.988 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.00906, allocations: 330.7 kB / 252 MB, free: 6.656 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.009085, allocations: 19.98 kB / 252.1 MB, free: 6.637 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.718e-05/0.009122, allocations: 37.69 kB / 252.1 MB, free: 6.594 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.482e-05/0.009197, allocations: 72.36 kB / 252.2 MB, free: 6.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.009199, allocations: 0 / 252.2 MB, free: 6.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000141/0.00934, allocations: 130.4 kB / 252.3 MB, free: 6.383 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.009353, allocations: 7.984 kB / 252.3 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.009357, allocations: 0 / 252.3 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005088/0.009866, allocations: 168.6 kB / 252.5 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.009993, allocations: 39.97 kB / 252.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002766/0.01027, allocations: 0.5639 MB / 253.1 MB, free: 5.578 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.01032, allocations: 11.89 kB / 253.1 MB, free: 5.566 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.01033, allocations: 12.03 kB / 253.1 MB, free: 5.555 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 7.907e-05/0.01041, allocations: 117.8 kB / 253.2 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.01043, allocations: 11.98 kB / 253.2 MB, free: 5.418 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.01061, allocations: 150.9 kB / 253.4 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01061, allocations: 0 / 253.4 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.01061, allocations: 0 / 253.4 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.01062, allocations: 3.984 kB / 253.4 MB, free: 5.262 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.01098, allocations: 361.1 kB / 253.7 MB, free: 4.879 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01098, allocations: 0 / 253.7 MB, free: 4.879 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.484e-05/0.01108, allocations: 35.97 kB / 253.8 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.01109, allocations: 15.89 kB / 253.8 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003806/0.01147, allocations: 152.7 kB / 253.9 MB, free: 4.676 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.01149, allocations: 3.984 kB / 253.9 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002379/0.01172, allocations: 0.5718 MB / 254.5 MB, free: 4.074 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01173, allocations: 0 / 254.5 MB, free: 4.074 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.01203, allocations: 303.9 kB / 254.8 MB, free: 3.758 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.01205, allocations: 8 kB / 254.8 MB, free: 3.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.045e-05/0.01211, allocations: 15.98 kB / 254.8 MB, free: 3.734 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.01214, allocations: 19.77 kB / 254.8 MB, free: 3.715 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.01215, allocations: 0 / 254.8 MB, free: 3.715 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.047e-05/0.01219, allocations: 48.8 kB / 254.9 MB, free: 3.664 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01219, allocations: 3.938 kB / 254.9 MB, free: 3.66 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000158/0.01235, allocations: 59.83 kB / 255 MB, free: 3.602 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.0001182/0.01247, allocations: 96.19 kB / 255 MB, free: 3.5 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.01264, allocations: 100.5 kB / 255.1 MB, free: 3.402 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.01265, allocations: 4 kB / 255.2 MB, free: 3.398 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.016e-05/0.01273, allocations: 72.94 kB / 255.2 MB, free: 3.328 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.013, allocations: 261.6 kB / 255.5 MB, free: 3.023 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.01548, allocations: 475.4 kB / 255.9 MB, free: 2.531 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.475e-05/0.01553, allocations: 80.22 kB / 256 MB, free: 2.434 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.398e-05/0.01557, allocations: 9.484 kB / 256 MB, free: 2.426 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.01565, allocations: 83.36 kB / 256.1 MB, free: 2.344 MB / 250.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01565, allocations: 7.938 kB / 256.1 MB, free: 2.336 MB / 250.7 MB Notification: Performance of Templates: time 0.004692/0.02035, allocations: 2.802 MB / 258.9 MB, free: 15.59 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.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: 2.6499161971732974]