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.001046/0.001046, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001465/0.002511, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001061/0.001061, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001389/0.00245, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9318/0.9318, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07886/1.011, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.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.663e-06/1.663e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.382e-05, allocations: 6.25 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003822/0.003846, allocations: 2.601 MB / 247.6 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.005142, allocations: 0.7048 MB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.005287, allocations: 7.938 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.005404, allocations: 39.59 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.00556, allocations: 79.27 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.005838, allocations: 99.73 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.006166, allocations: 282.6 kB / 248.8 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.006325, allocations: 62.45 kB / 248.9 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003273/0.006652, allocations: 195.5 kB / 249.1 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.006811, allocations: 83.77 kB / 249.2 MB, free: 9.465 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.006847, allocations: 20 kB / 249.2 MB, free: 9.445 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.006971, allocations: 47.98 kB / 249.2 MB, free: 9.398 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.007011, allocations: 35.88 kB / 249.3 MB, free: 9.363 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.548e-05/0.007096, allocations: 75.81 kB / 249.3 MB, free: 9.289 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003045/0.007401, allocations: 187.3 kB / 249.5 MB, free: 9.105 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-05/0.007418, allocations: 0 / 249.5 MB, free: 9.105 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.007419, allocations: 0 / 249.5 MB, free: 9.105 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.824e-05/0.007438, allocations: 0 / 249.5 MB, free: 9.105 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.0007553/0.008193, allocations: 0.492 MB / 250 MB, free: 8.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.008227, allocations: 8.625 kB / 250 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.008417, allocations: 126 kB / 250.1 MB, free: 8.441 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.008654, allocations: 161.4 kB / 250.3 MB, free: 8.258 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.008672, allocations: 20.81 kB / 250.3 MB, free: 8.238 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.008711, allocations: 20.38 kB / 250.3 MB, free: 8.219 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.008975, allocations: 200.7 kB / 250.5 MB, free: 8.004 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.008986, allocations: 4.188 kB / 250.5 MB, free: 8 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.009, allocations: 12.38 kB / 250.6 MB, free: 7.988 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.009008, allocations: 7.938 kB / 250.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.666e-05/0.009105, allocations: 57.41 kB / 250.6 MB, free: 7.926 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000651/0.009756, allocations: 0.5005 MB / 251.1 MB, free: 7.391 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.009907, allocations: 98.52 kB / 251.2 MB, free: 7.285 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.359e-05/0.009981, allocations: 56.77 kB / 251.3 MB, free: 7.227 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.01, allocations: 4 kB / 251.3 MB, free: 7.223 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.01003, allocations: 38.55 kB / 251.3 MB, free: 7.176 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.983e-06/0.01003, allocations: 0 / 251.3 MB, free: 7.176 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005034/0.01053, allocations: 234.4 kB / 251.5 MB, free: 6.938 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.01056, allocations: 55.41 kB / 251.6 MB, free: 6.871 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.997e-05/0.01065, allocations: 166.6 kB / 251.8 MB, free: 6.695 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.01066, allocations: 37.7 kB / 251.8 MB, free: 6.652 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.01071, allocations: 136.4 kB / 251.9 MB, free: 6.516 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.01074, allocations: 55.47 kB / 252 MB, free: 6.461 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.01079, allocations: 41.69 kB / 252 MB, free: 6.414 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.01086, allocations: 326.8 kB / 252.3 MB, free: 6.086 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.01088, allocations: 19.98 kB / 252.4 MB, free: 6.066 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/0.01092, allocations: 37.69 kB / 252.4 MB, free: 6.023 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.984e-05/0.01098, allocations: 76.64 kB / 252.5 MB, free: 5.945 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01099, allocations: 0 / 252.5 MB, free: 5.945 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001396/0.01113, allocations: 134.4 kB / 252.6 MB, free: 5.805 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.01114, allocations: 4 kB / 252.6 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.01114, allocations: 0 / 252.6 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004809/0.01162, allocations: 160.7 kB / 252.8 MB, free: 5.641 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.01175, allocations: 51.91 kB / 252.8 MB, free: 5.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002606/0.01201, allocations: 0.5562 MB / 253.4 MB, free: 5.008 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.01206, allocations: 11.89 kB / 253.4 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.01206, allocations: 4 kB / 253.4 MB, free: 4.992 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.759e-05/0.01214, allocations: 129.8 kB / 253.5 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.01217, allocations: 19.98 kB / 253.5 MB, free: 4.836 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.01234, allocations: 139.2 kB / 253.7 MB, free: 4.695 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.01235, allocations: 4 kB / 253.7 MB, free: 4.691 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01235, allocations: 0 / 253.7 MB, free: 4.691 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.01235, allocations: 3.984 kB / 253.7 MB, free: 4.688 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.01271, allocations: 363.4 kB / 254 MB, free: 4.305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01271, allocations: 4.031 kB / 254 MB, free: 4.301 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.01282, allocations: 35.97 kB / 254.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.01283, allocations: 11.91 kB / 254.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003694/0.0132, allocations: 152.6 kB / 254.2 MB, free: 4.102 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.01321, allocations: 3.984 kB / 254.2 MB, free: 4.098 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002168/0.01343, allocations: 0.5757 MB / 254.8 MB, free: 3.496 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01343, allocations: 0 / 254.8 MB, free: 3.496 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.01372, allocations: 300.3 kB / 255.1 MB, free: 3.184 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.01374, allocations: 8 kB / 255.1 MB, free: 3.176 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.858e-05/0.01379, allocations: 11.98 kB / 255.1 MB, free: 3.164 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.01382, allocations: 11.92 kB / 255.1 MB, free: 3.152 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.01383, allocations: 4 kB / 255.1 MB, free: 3.148 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.368e-05/0.01386, allocations: 53.84 kB / 255.2 MB, free: 3.094 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01386, allocations: 0 / 255.2 MB, free: 3.094 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001545/0.01401, allocations: 59.83 kB / 255.3 MB, free: 3.035 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.000116/0.01413, allocations: 96.36 kB / 255.3 MB, free: 2.93 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.01429, allocations: 93.8 kB / 255.4 MB, free: 2.836 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.0143, allocations: 0 / 255.4 MB, free: 2.836 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.042e-05/0.01436, allocations: 57.89 kB / 255.5 MB, free: 2.777 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.01452, allocations: 47.42 kB / 255.5 MB, free: 2.734 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.01692, allocations: 478.4 kB / 256 MB, free: 2.238 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.521e-05/0.01697, allocations: 80.22 kB / 256.1 MB, free: 2.141 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.747e-05/0.01701, allocations: 17.47 kB / 256.1 MB, free: 2.125 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/0.01709, allocations: 79.36 kB / 256.2 MB, free: 2.047 MB / 250.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01709, allocations: 0 / 256.2 MB, free: 2.047 MB / 250.7 MB Notification: Performance of Templates: time 0.004264/0.02135, allocations: 2.578 MB / 258.8 MB, free: 15.51 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 -ignoreHideResult -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.406440135091543]