Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 95.86 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 149.1 kB / 24.26 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 173.3 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/2.93e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.00361/0.003639, allocations: 1.861 MB / 269.2 MB, free: 4.832 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.004984, allocations: 0.6153 MB / 269.8 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.0051, allocations: 11.88 kB / 269.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.005249, allocations: 15.8 kB / 269.8 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.00539, allocations: 31.73 kB / 269.9 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.005779, allocations: 99.64 kB / 270 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.006027, allocations: 147.5 kB / 270.1 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.006197, allocations: 37.97 kB / 270.1 MB, free: 3.875 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.006366, allocations: 79.73 kB / 270.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.746e-05/0.006464, allocations: 35.89 kB / 270.2 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.304e-05/0.006507, allocations: 16 kB / 270.3 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.457e-05/0.006531, allocations: 8 kB / 270.3 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.006607, allocations: 31.86 kB / 270.3 MB, free: 3.707 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.908e-05/0.006696, allocations: 35.84 kB / 270.3 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.006974, allocations: 147.5 kB / 270.5 MB, free: 3.527 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.006977, allocations: 0 / 270.5 MB, free: 3.527 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006978, allocations: 0 / 270.5 MB, free: 3.527 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.006985, allocations: 0 / 270.5 MB, free: 3.527 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007811/0.007767, allocations: 479.7 kB / 271 MB, free: 3.023 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.007807, allocations: 8.031 kB / 271 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.31e-05/0.00788, allocations: 32.8 kB / 271 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.008239, allocations: 194.2 kB / 271.2 MB, free: 2.766 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.008258, allocations: 4.562 kB / 271.2 MB, free: 2.762 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.008281, allocations: 8.375 kB / 271.2 MB, free: 2.754 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006684/0.008949, allocations: 330 kB / 271.5 MB, free: 2.391 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.00896, allocations: 0 / 271.5 MB, free: 2.391 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.008982, allocations: 11.98 kB / 271.5 MB, free: 2.379 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.008987, allocations: 0 / 271.5 MB, free: 2.379 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.009179, allocations: 59.91 kB / 271.6 MB, free: 2.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006134/0.009793, allocations: 477.5 kB / 272.1 MB, free: 1.801 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.01035, allocations: 247.4 kB / 272.3 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.01057, allocations: 114.5 kB / 272.4 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.0106, allocations: 8 kB / 272.4 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.01064, allocations: 41.33 kB / 272.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.01064, allocations: 0 / 272.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005696/0.01121, allocations: 209.7 kB / 272.7 MB, free: 1.094 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/0.01137, allocations: 199.9 kB / 272.9 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.01161, allocations: 254.6 kB / 273.1 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.01164, allocations: 29.7 kB / 273.1 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.01175, allocations: 146.9 kB / 273.3 MB, free: 416 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.01177, allocations: 19.92 kB / 273.3 MB, free: 396 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.01183, allocations: 19.38 kB / 273.3 MB, free: 368 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002885/0.01211, allocations: 0.4962 MB / 273.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.986e-05/0.01215, allocations: 4 kB / 273.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.956e-05/0.01223, allocations: 64.75 kB / 273.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.115e-05/0.01232, allocations: 39.41 kB / 273.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01232, allocations: 0 / 273.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001326/0.01245, allocations: 57.58 kB / 274 MB, free: 15.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.01248, allocations: 11.98 kB / 274 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.01248, allocations: 0 / 274 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.0125, allocations: 0 / 274 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.01256, allocations: 4 kB / 274 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.01257, allocations: 3.938 kB / 274 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.883e-05/0.01263, allocations: 12.02 kB / 274 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.01263, allocations: 0 / 274 MB, free: 15.62 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.01277, allocations: 172.6 kB / 274.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002826/0.01306, allocations: 137.5 kB / 274.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.634e-05/0.01312, allocations: 25.45 kB / 274.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.01313, allocations: 7.938 kB / 274.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01313, allocations: 0 / 274.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.01314, allocations: 3.938 kB / 274.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.01343, allocations: 168.8 kB / 274.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01343, allocations: 4.031 kB / 274.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.01356, allocations: 31.98 kB / 274.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.01357, allocations: 3.984 kB / 274.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.01359, allocations: 15.98 kB / 274.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.0136, allocations: 3.938 kB / 274.6 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.0136, allocations: 4 kB / 274.6 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005004/0.0141, allocations: 457.9 kB / 275 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-05/0.01418, allocations: 39.81 kB / 275.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.01421, allocations: 0 / 275.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.01435, allocations: 12 kB / 275.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.01439, allocations: 11.92 kB / 275.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.0144, allocations: 7.938 kB / 275.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001509/0.01455, allocations: 181.1 kB / 275.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01455, allocations: 0 / 275.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002724/0.01483, allocations: 16 kB / 275.3 MB, free: 14.26 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001321/0.01496, allocations: 103.2 kB / 275.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.01519, allocations: 71.59 kB / 275.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01519, allocations: 0 / 275.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.083e-05/0.01524, allocations: 19.62 kB / 275.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.01587, allocations: 93.28 kB / 275.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.017, allocations: 398 kB / 275.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.01712, allocations: 106.8 kB / 276.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.613e-05/0.01717, allocations: 8.656 kB / 276.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.01721, allocations: 16.5 kB / 276.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01721, allocations: 0 / 276.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of Templates: time 0.005323/0.02254, allocations: 1.736 MB / 277.8 MB, free: 11.68 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.563918317086063]