Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001012/0.001012, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009246/0.0009246, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9417/0.9417, allocations: 177 MB / 204.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.96e-05, allocations: 9.203 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002789/0.002808, allocations: 2.571 MB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009377/0.003746, allocations: 0.6893 MB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.003847, allocations: 0 / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.003974, allocations: 31.66 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.679e-05/0.004071, allocations: 79.22 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.004367, allocations: 99.73 kB / 276.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.0046, allocations: 294.5 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.004754, allocations: 64.53 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.004978, allocations: 167.6 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.005102, allocations: 83.77 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.005134, allocations: 20 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.985e-05/0.005214, allocations: 43.92 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.449e-05/0.005248, allocations: 55.77 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.779e-05/0.005316, allocations: 87.81 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.005539, allocations: 199.3 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.005544, allocations: 11.94 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005545, allocations: 4 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.005549, allocations: 0 / 277.4 MB, free: 12.96 MB / 266.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.0005795/0.006129, allocations: 0.5545 MB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.006164, allocations: 11.98 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.006297, allocations: 56.73 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.006505, allocations: 188.3 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.00652, allocations: 20.88 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.00656, allocations: 20.33 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.006811, allocations: 216.8 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.006823, allocations: 192 / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.006841, allocations: 4.375 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.006851, allocations: 7.938 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.006998, allocations: 86.88 kB / 278.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007968/0.007795, allocations: 0.664 MB / 279.2 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.007989, allocations: 115 kB / 279.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.008109, allocations: 78.48 kB / 279.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.008134, allocations: 4 kB / 279.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.008158, allocations: 33.39 kB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.008159, allocations: 4 kB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006666/0.008826, allocations: 281.2 kB / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.00885, allocations: 51.41 kB / 279.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.00897, allocations: 233.8 kB / 280 MB, free: 10.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.008983, allocations: 25.7 kB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.009057, allocations: 195.2 kB / 280.2 MB, free: 9.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.009089, allocations: 63.44 kB / 280.3 MB, free: 9.867 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.009136, allocations: 39.36 kB / 280.3 MB, free: 9.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.009242, allocations: 0.5001 MB / 280.8 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.691e-05/0.009289, allocations: 31.91 kB / 280.8 MB, free: 9.277 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-05/0.009348, allocations: 51.3 kB / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.009459, allocations: 95.41 kB / 281 MB, free: 9.121 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.009462, allocations: 0 / 281 MB, free: 9.121 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003513/0.009813, allocations: 169.1 kB / 281.2 MB, free: 8.945 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.009825, allocations: 4 kB / 281.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.00983, allocations: 0 / 281.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006048/0.01043, allocations: 183.5 kB / 281.3 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.596e-05/0.01051, allocations: 35.91 kB / 281.4 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003447/0.01086, allocations: 0.8468 MB / 282.2 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.0109, allocations: 11.89 kB / 282.2 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.01091, allocations: 8 kB / 282.2 MB, free: 7.824 MB / 266.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.883e-05/0.01099, allocations: 164.5 kB / 282.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.01102, allocations: 19.91 kB / 282.4 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.01126, allocations: 179 kB / 282.6 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.01126, allocations: 8 kB / 282.6 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01127, allocations: 0 / 282.6 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.01127, allocations: 7.984 kB / 282.6 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.01174, allocations: 0.512 MB / 283.1 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01174, allocations: 0 / 283.1 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.01182, allocations: 23.98 kB / 283.1 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004331/0.01225, allocations: 167.5 kB / 283.3 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.01226, allocations: 0 / 283.3 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003114/0.01257, allocations: 0.8702 MB / 284.2 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01258, allocations: 0 / 284.2 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000386/0.01296, allocations: 397.5 kB / 284.6 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.01298, allocations: 27.78 kB / 284.6 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.013, allocations: 4 kB / 284.6 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.416e-05/0.01306, allocations: 8 kB / 284.6 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.0131, allocations: 19.97 kB / 284.6 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.01311, allocations: 8 kB / 284.6 MB, free: 5.301 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.642e-05/0.01317, allocations: 164.2 kB / 284.8 MB, free: 5.141 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01317, allocations: 0 / 284.8 MB, free: 5.141 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001866/0.01336, allocations: 59.83 kB / 284.8 MB, free: 5.082 MB / 266.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.0001126/0.01347, allocations: 111.2 kB / 285 MB, free: 4.965 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.01369, allocations: 108.7 kB / 285.1 MB, free: 4.855 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01369, allocations: 0 / 285.1 MB, free: 4.855 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.136e-05/0.01377, allocations: 72.77 kB / 285.1 MB, free: 4.781 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.01399, allocations: 36.08 kB / 285.2 MB, free: 4.746 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.0148, allocations: 0.4949 MB / 285.7 MB, free: 4.211 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.316e-05/0.01485, allocations: 80.22 kB / 285.7 MB, free: 4.113 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.742e-05/0.01488, allocations: 13.48 kB / 285.8 MB, free: 4.098 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.01491, allocations: 20.5 kB / 285.8 MB, free: 4.078 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01491, allocations: 0 / 285.8 MB, free: 4.078 MB / 266.7 MB Notification: Performance of Templates: time 0.00397/0.01888, allocations: 2.251 MB / 288 MB, free: 1.863 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.627350239083171]