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.001024/0.001024, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001001/0.001001, allocations: 160.9 kB / 24.99 MB, free: 8.801 MB / 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.9509/0.9509, allocations: 177 MB / 205.2 MB, free: 5.57 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.733e-06/1.733e-06, allocations: 0 / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.687e-05, allocations: 2.312 kB / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.006334/0.006361, allocations: 2.569 MB / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004197/0.01056, allocations: 0.6738 MB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.01071, allocations: 7.938 kB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.01086, allocations: 35.64 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.01099, allocations: 83.2 kB / 276.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.01134, allocations: 95.75 kB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.01164, allocations: 294.6 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.0118, allocations: 60.53 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.01206, allocations: 163.6 kB / 277 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.0122, allocations: 91.7 kB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.01223, allocations: 20 kB / 277.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-05/0.01232, allocations: 47.91 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.01237, allocations: 51.83 kB / 277.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.202e-05/0.01245, allocations: 87.77 kB / 277.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.01272, allocations: 199.3 kB / 277.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01272, allocations: 0 / 277.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01272, allocations: 4 kB / 277.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.01273, allocations: 0 / 277.5 MB, free: 13.25 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.003693/0.01642, allocations: 0.5662 MB / 278 MB, free: 12.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.01646, allocations: 11.98 kB / 278 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.01663, allocations: 56.73 kB / 278.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.01688, allocations: 188.2 kB / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.0169, allocations: 12.88 kB / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.01694, allocations: 28.33 kB / 278.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.01722, allocations: 208.8 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.01724, allocations: 4.188 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.01726, allocations: 8.375 kB / 278.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.01727, allocations: 11.92 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.01746, allocations: 86.88 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009713/0.01843, allocations: 0.6601 MB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.01866, allocations: 119 kB / 279.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.01879, allocations: 67.64 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.01881, allocations: 4 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.01884, allocations: 37.39 kB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.654e-06/0.01884, allocations: 4 kB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008316/0.01967, allocations: 280.3 kB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.0197, allocations: 55.41 kB / 279.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.01986, allocations: 233.8 kB / 280.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.01988, allocations: 29.69 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.466e-05/0.01997, allocations: 191.2 kB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.02001, allocations: 59.44 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.02008, allocations: 43.36 kB / 280.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.02022, allocations: 0.4962 MB / 280.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.02028, allocations: 31.98 kB / 280.9 MB, free: 9.566 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.073e-05/0.02036, allocations: 59.22 kB / 281 MB, free: 9.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.0205, allocations: 87.48 kB / 281.1 MB, free: 9.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.0205, allocations: 0 / 281.1 MB, free: 9.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002902/0.02079, allocations: 173.1 kB / 281.2 MB, free: 9.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.02081, allocations: 4 kB / 281.2 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.02081, allocations: 0 / 281.2 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007803/0.02159, allocations: 175.5 kB / 281.4 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.02169, allocations: 35.92 kB / 281.4 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003782/0.02207, allocations: 0.8546 MB / 282.3 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.02213, allocations: 11.89 kB / 282.3 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.02214, allocations: 8 kB / 282.3 MB, free: 8.109 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 9.482e-05/0.02224, allocations: 164.5 kB / 282.5 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.02227, allocations: 23.91 kB / 282.5 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.02252, allocations: 179 kB / 282.7 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.02253, allocations: 11.97 kB / 282.7 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.02253, allocations: 0 / 282.7 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.02253, allocations: 0 / 282.7 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/0.02305, allocations: 0.5082 MB / 283.2 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.02306, allocations: 3.984 kB / 283.2 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.231e-05/0.02315, allocations: 27.92 kB / 283.2 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004701/0.02362, allocations: 167.4 kB / 283.4 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.02363, allocations: 4 kB / 283.4 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003988/0.02403, allocations: 0.8663 MB / 284.3 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.02404, allocations: 4 kB / 284.3 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.02451, allocations: 398.4 kB / 284.6 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.02454, allocations: 23.8 kB / 284.7 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.02456, allocations: 4 kB / 284.7 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.605e-05/0.02462, allocations: 11.98 kB / 284.7 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.02466, allocations: 15.98 kB / 284.7 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.02467, allocations: 11.98 kB / 284.7 MB, free: 5.574 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.677e-05/0.02475, allocations: 160.2 kB / 284.9 MB, free: 5.418 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02475, allocations: 0 / 284.9 MB, free: 5.418 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002079/0.02496, allocations: 55.89 kB / 284.9 MB, free: 5.363 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.0001436/0.0251, allocations: 115.2 kB / 285 MB, free: 5.242 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.02533, allocations: 112.6 kB / 285.1 MB, free: 5.129 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.02533, allocations: 0 / 285.1 MB, free: 5.129 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.119e-05/0.02541, allocations: 71.64 kB / 285.2 MB, free: 5.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.02564, allocations: 35.98 kB / 285.3 MB, free: 5.023 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000893/0.02653, allocations: 0.491 MB / 285.7 MB, free: 4.492 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.84e-05/0.02658, allocations: 76.22 kB / 285.8 MB, free: 4.398 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.747e-05/0.02663, allocations: 21.47 kB / 285.8 MB, free: 4.375 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.02665, allocations: 12.5 kB / 285.8 MB, free: 4.363 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02665, allocations: 0 / 285.8 MB, free: 4.363 MB / 266.7 MB Notification: Performance of Templates: time 0.00421/0.03086, allocations: 2.258 MB / 288.1 MB, free: 2.141 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.895816523814574]