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.001037/0.001037, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001483/0.002521, allocations: 449.7 kB / 10.37 MB, free: 328 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.0011/0.0011, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.00215, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9563/0.9563, allocations: 177.2 MB / 189.6 MB, free: 5.285 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1349/1.091, allocations: 53.64 MB / 243.3 MB, free: 15.57 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 2.004e-06/2.004e-06, allocations: 0 / 244.5 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.407e-05, allocations: 2.312 kB / 244.5 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003853/0.003877, allocations: 2.604 MB / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.005203, allocations: 0.697 MB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.005352, allocations: 7.938 kB / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.005472, allocations: 35.64 kB / 247.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.005629, allocations: 83.22 kB / 248 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.005898, allocations: 91.73 kB / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.006212, allocations: 290.6 kB / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.006388, allocations: 62.45 kB / 248.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003508/0.006738, allocations: 183.6 kB / 248.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.006919, allocations: 91.69 kB / 248.7 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.006962, allocations: 28 kB / 248.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.007091, allocations: 39.98 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.007132, allocations: 35.88 kB / 248.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.496e-05/0.007217, allocations: 71.88 kB / 248.8 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.007525, allocations: 191.2 kB / 249 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.622e-05/0.007541, allocations: 0 / 249 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007542, allocations: 0 / 249 MB, free: 9.777 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.007557, allocations: 0 / 249 MB, free: 9.777 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.0007305/0.008288, allocations: 0.4959 MB / 249.5 MB, free: 9.254 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.008324, allocations: 12.03 kB / 249.5 MB, free: 9.242 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.008537, allocations: 118 kB / 249.7 MB, free: 9.109 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.00879, allocations: 161.4 kB / 249.8 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.00881, allocations: 16.88 kB / 249.8 MB, free: 8.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.008855, allocations: 24.36 kB / 249.9 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.009144, allocations: 200.7 kB / 250 MB, free: 8.672 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.009164, allocations: 4.188 kB / 250.1 MB, free: 8.668 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.009187, allocations: 16.31 kB / 250.1 MB, free: 8.652 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.009198, allocations: 7.938 kB / 250.1 MB, free: 8.645 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.009346, allocations: 57.45 kB / 250.1 MB, free: 8.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009543/0.0103, allocations: 0.5043 MB / 250.6 MB, free: 8.051 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.01051, allocations: 94.12 kB / 250.7 MB, free: 7.953 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.01063, allocations: 56.77 kB / 250.8 MB, free: 7.895 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.01066, allocations: 4 kB / 250.8 MB, free: 7.891 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.01069, allocations: 30.56 kB / 250.8 MB, free: 7.852 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 2.735e-06/0.01069, allocations: 4 kB / 250.8 MB, free: 7.848 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008009/0.01149, allocations: 238.4 kB / 251.1 MB, free: 7.605 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.01152, allocations: 55.41 kB / 251.1 MB, free: 7.539 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.01165, allocations: 167.1 kB / 251.3 MB, free: 7.363 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.01166, allocations: 29.7 kB / 251.3 MB, free: 7.328 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.01174, allocations: 136.4 kB / 251.4 MB, free: 7.191 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.01178, allocations: 63.45 kB / 251.5 MB, free: 7.129 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.01185, allocations: 33.7 kB / 251.5 MB, free: 7.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.01195, allocations: 334.8 kB / 251.9 MB, free: 6.754 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.604e-05/0.01199, allocations: 12 kB / 251.9 MB, free: 6.742 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.425e-05/0.01206, allocations: 37.69 kB / 251.9 MB, free: 6.699 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.01218, allocations: 77.55 kB / 252 MB, free: 6.617 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.01218, allocations: 4 kB / 252 MB, free: 6.613 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002445/0.01242, allocations: 126.4 kB / 252.1 MB, free: 6.48 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.01244, allocations: 4 kB / 252.1 MB, free: 6.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.01245, allocations: 4 kB / 252.1 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008621/0.01331, allocations: 164.7 kB / 252.3 MB, free: 6.309 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.01351, allocations: 39.91 kB / 252.3 MB, free: 6.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004107/0.01392, allocations: 0.5679 MB / 252.9 MB, free: 5.676 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.01402, allocations: 19.92 kB / 252.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.01403, allocations: 4 kB / 252.9 MB, free: 5.652 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.925e-05/0.01413, allocations: 117.8 kB / 253 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.01418, allocations: 15.98 kB / 253 MB, free: 5.512 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.01447, allocations: 147.2 kB / 253.2 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.01448, allocations: 0 / 253.2 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.01448, allocations: 0 / 253.2 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.01448, allocations: 7.922 kB / 253.2 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/0.01507, allocations: 360.2 kB / 253.5 MB, free: 4.973 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.01508, allocations: 4 kB / 253.5 MB, free: 4.969 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.01526, allocations: 31.97 kB / 253.6 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.01528, allocations: 23.83 kB / 253.6 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006735/0.01596, allocations: 152.6 kB / 253.7 MB, free: 4.762 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.01598, allocations: 4 kB / 253.8 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003793/0.01635, allocations: 0.5718 MB / 254.3 MB, free: 4.16 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.01636, allocations: 0 / 254.3 MB, free: 4.16 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.01686, allocations: 304.9 kB / 254.6 MB, free: 3.84 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.01689, allocations: 0 / 254.6 MB, free: 3.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.017, allocations: 8 kB / 254.6 MB, free: 3.832 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.01705, allocations: 19.81 kB / 254.6 MB, free: 3.812 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.01706, allocations: 8 kB / 254.7 MB, free: 3.805 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.827e-05/0.01712, allocations: 49.84 kB / 254.7 MB, free: 3.754 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01712, allocations: 0 / 254.7 MB, free: 3.754 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002849/0.0174, allocations: 59.83 kB / 254.8 MB, free: 3.695 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.0001518/0.01756, allocations: 92.39 kB / 254.9 MB, free: 3.594 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002524/0.01781, allocations: 96.98 kB / 254.9 MB, free: 3.5 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/0.01782, allocations: 7.938 kB / 255 MB, free: 3.492 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.01794, allocations: 53.95 kB / 255 MB, free: 3.438 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.01821, allocations: 43.08 kB / 255 MB, free: 3.398 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.02222, allocations: 482.5 kB / 255.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.955e-05/0.02228, allocations: 80.22 kB / 255.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.787e-05/0.02234, allocations: 9.484 kB / 255.6 MB, free: 2.793 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.02245, allocations: 79.36 kB / 255.7 MB, free: 2.715 MB / 250.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02246, allocations: 0 / 255.7 MB, free: 2.715 MB / 250.7 MB Notification: Performance of Templates: time 0.006147/0.0286, allocations: 2.573 MB / 258.3 MB, free: 196 kB / 250.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.592194650322199]