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.001507/0.001507, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001696/0.001696, allocations: 141.5 kB / 24.54 MB, free: 36 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.044/1.044, allocations: 173.3 MB / 201.1 MB, free: 8.996 MB / 186.7 MB " [Timeout remaining time 179] 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 2.104e-06/2.104e-06, allocations: 3.938 kB / 268 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/3.042e-05, allocations: 2.312 kB / 268 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002638/0.002668, allocations: 1.875 MB / 269.9 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009242/0.003592, allocations: 0.6153 MB / 270.5 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.003709, allocations: 7.938 kB / 270.5 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.003856, allocations: 19.8 kB / 270.5 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.003981, allocations: 27.78 kB / 270.6 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.004282, allocations: 103.6 kB / 270.7 MB, free: 3.609 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.004456, allocations: 143.5 kB / 270.8 MB, free: 3.469 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.004614, allocations: 41.97 kB / 270.8 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.004741, allocations: 71.81 kB / 270.9 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.751e-05/0.004819, allocations: 43.77 kB / 270.9 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.004844, allocations: 8 kB / 271 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.02e-05/0.004865, allocations: 12 kB / 271 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.701e-05/0.004932, allocations: 35.84 kB / 271 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.004977, allocations: 31.92 kB / 271 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.005161, allocations: 95.58 kB / 271.1 MB, free: 3.133 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.005166, allocations: 0 / 271.1 MB, free: 3.133 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.005167, allocations: 0 / 271.1 MB, free: 3.133 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.005174, allocations: 0 / 271.1 MB, free: 3.133 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.0005856/0.005759, allocations: 479.9 kB / 271.6 MB, free: 2.629 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.005805, allocations: 8.031 kB / 271.6 MB, free: 2.621 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.005866, allocations: 28.8 kB / 271.6 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.006137, allocations: 193.3 kB / 271.8 MB, free: 2.375 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.00616, allocations: 4.562 kB / 271.8 MB, free: 2.371 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.006179, allocations: 8.375 kB / 271.8 MB, free: 2.363 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.006613, allocations: 294.9 kB / 272.1 MB, free: 2.031 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.006625, allocations: 0 / 272.1 MB, free: 2.031 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.006642, allocations: 12 kB / 272.1 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.006651, allocations: 0 / 272.1 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.465e-05/0.006716, allocations: 31.92 kB / 272.2 MB, free: 1.988 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.007144, allocations: 461.5 kB / 272.6 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.007428, allocations: 199.4 kB / 272.8 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.778e-05/0.007516, allocations: 86.42 kB / 272.9 MB, free: 1.121 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.007544, allocations: 7.984 kB / 272.9 MB, free: 1.113 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.007577, allocations: 49.33 kB / 273 MB, free: 1.055 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.007578, allocations: 0 / 273 MB, free: 1.055 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002753/0.007853, allocations: 145.4 kB / 273.1 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/0.007947, allocations: 195.9 kB / 273.3 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.0081, allocations: 230.7 kB / 273.5 MB, free: 440 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.008119, allocations: 29.7 kB / 273.5 MB, free: 404 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.791e-05/0.008197, allocations: 150.8 kB / 273.7 MB, free: 248 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.008217, allocations: 7.938 kB / 273.7 MB, free: 240 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.008255, allocations: 27.75 kB / 273.7 MB, free: 204 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.008421, allocations: 0.4923 MB / 274.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.008439, allocations: 4 kB / 274.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.4e-05/0.008483, allocations: 52.77 kB / 274.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.047e-05/0.008523, allocations: 27.38 kB / 274.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.008526, allocations: 0 / 274.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.13e-05/0.008608, allocations: 53.53 kB / 274.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.008624, allocations: 4 kB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.008631, allocations: 0 / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.008648, allocations: 8.156 kB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.008726, allocations: 7.984 kB / 274.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.008734, allocations: 7.922 kB / 274.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.008768, allocations: 8 kB / 274.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.008774, allocations: 0 / 274.4 MB, free: 15.49 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 9.355e-05/0.008867, allocations: 164.5 kB / 274.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.009017, allocations: 113.5 kB / 274.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.00907, allocations: 21.45 kB / 274.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.009075, allocations: 4.234 kB / 274.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.00908, allocations: 4.031 kB / 274.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.009088, allocations: 11.92 kB / 274.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.00926, allocations: 156.5 kB / 274.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.009263, allocations: 0 / 274.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.888e-05/0.009341, allocations: 31.92 kB / 274.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.009345, allocations: 4 kB / 274.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.009357, allocations: 11.98 kB / 274.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.009359, allocations: 0 / 274.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.00936, allocations: 0 / 274.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.009592, allocations: 421.9 kB / 275.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.009647, allocations: 27.83 kB / 275.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.009668, allocations: 15.98 kB / 275.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.009745, allocations: 4 kB / 275.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.009778, allocations: 7.938 kB / 275.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.009788, allocations: 15.92 kB / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.395e-05/0.009862, allocations: 165.1 kB / 275.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.009862, allocations: 0 / 275.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001854/0.01005, allocations: 16 kB / 275.6 MB, free: 14.23 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 9.812e-05/0.01015, allocations: 99.19 kB / 275.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.01027, allocations: 51.59 kB / 275.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01027, allocations: 0 / 275.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.73e-05/0.01029, allocations: 15.69 kB / 275.7 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.0003963/0.01069, allocations: 80.38 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008666/0.01155, allocations: 382.7 kB / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.711e-05/0.01161, allocations: 75.83 kB / 276.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.182e-05/0.01164, allocations: 8.656 kB / 276.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.01168, allocations: 12.5 kB / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01168, allocations: 0 / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of Templates: time 0.003799/0.01548, allocations: 1.739 MB / 278 MB, free: 11.73 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.129380872938782]