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.0008513/0.0008513, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001347/0.002198, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0007889/0.0007889, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001218/0.002007, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9634/0.9634, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.111/1.074, allocations: 52.49 MB / 238.3 MB, free: 4.43 MB / 234.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 1.963e-06/1.963e-06, allocations: 3.938 kB / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.73e-05, allocations: 3.859 kB / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003979/0.004006, allocations: 1.928 MB / 241.5 MB, free: 1.219 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.005166, allocations: 0.6269 MB / 242.1 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.005317, allocations: 7.938 kB / 242.1 MB, free: 0.582 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.005439, allocations: 23.73 kB / 242.1 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.005561, allocations: 27.78 kB / 242.2 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.005982, allocations: 107.6 kB / 242.3 MB, free: 436 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.006259, allocations: 143.5 kB / 242.4 MB, free: 292 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.006437, allocations: 38.62 kB / 242.5 MB, free: 252 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.006641, allocations: 95.67 kB / 242.5 MB, free: 156 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.15e-05/0.006732, allocations: 35.84 kB / 242.6 MB, free: 120 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.006766, allocations: 8 kB / 242.6 MB, free: 112 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.079e-05/0.006786, allocations: 12 kB / 242.6 MB, free: 100 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.006841, allocations: 23.92 kB / 242.6 MB, free: 76 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.006889, allocations: 31.88 kB / 242.7 MB, free: 44 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.007098, allocations: 87.73 kB / 242.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-05/0.007116, allocations: 0 / 242.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007118, allocations: 4 kB / 242.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.007136, allocations: 0 / 242.7 MB, free: 15.95 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.0005762/0.007712, allocations: 364 kB / 243.1 MB, free: 15.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.00775, allocations: 12.03 kB / 243.1 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.007806, allocations: 24.91 kB / 243.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.008079, allocations: 174.5 kB / 243.3 MB, free: 15.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.008106, allocations: 12.56 kB / 243.3 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.008127, allocations: 12.31 kB / 243.3 MB, free: 15.31 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.008499, allocations: 245.4 kB / 243.6 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.008509, allocations: 0 / 243.6 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.008524, allocations: 4 kB / 243.6 MB, free: 15.03 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.008532, allocations: 4 kB / 243.6 MB, free: 15.03 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.204e-05/0.008594, allocations: 31.86 kB / 243.6 MB, free: 15 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.008997, allocations: 278.8 kB / 243.9 MB, free: 14.7 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.009237, allocations: 144.8 kB / 244 MB, free: 14.51 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.29e-05/0.00931, allocations: 64.31 kB / 244.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.009338, allocations: 8 kB / 244.1 MB, free: 14.42 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.009369, allocations: 42.5 kB / 244.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 2.896e-06/0.009372, allocations: 0 / 244.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002491/0.009621, allocations: 117.5 kB / 244.3 MB, free: 14.25 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.29e-05/0.009704, allocations: 162.2 kB / 244.4 MB, free: 14.05 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.009832, allocations: 175.4 kB / 244.6 MB, free: 13.87 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.009847, allocations: 25.7 kB / 244.6 MB, free: 13.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.009895, allocations: 92.11 kB / 244.7 MB, free: 13.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.009913, allocations: 11.89 kB / 244.7 MB, free: 13.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.00995, allocations: 21.67 kB / 244.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.01005, allocations: 322.8 kB / 245 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.01007, allocations: 4 kB / 245 MB, free: 13.38 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.132e-05/0.01011, allocations: 56.47 kB / 245.1 MB, free: 13.31 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/0.01014, allocations: 17.81 kB / 245.1 MB, free: 13.29 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01014, allocations: 0 / 245.1 MB, free: 13.29 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.266e-05/0.01021, allocations: 45.62 kB / 245.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01023, allocations: 6.5 kB / 245.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01023, allocations: 0 / 245.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.01024, allocations: 0 / 245.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.396e-05/0.01032, allocations: 7.984 kB / 245.2 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.01032, allocations: 4 kB / 245.2 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.01036, allocations: 8.062 kB / 245.2 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.01037, allocations: 7.938 kB / 245.2 MB, free: 13.2 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 (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 7.518e-05/0.01045, allocations: 108.7 kB / 245.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.01059, allocations: 93.7 kB / 245.4 MB, free: 12.99 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.672e-05/0.01063, allocations: 21.45 kB / 245.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.01064, allocations: 4 kB / 245.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.01064, allocations: 0 / 245.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.01065, allocations: 0 / 245.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.01087, allocations: 109.7 kB / 245.5 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.01088, allocations: 32 / 245.5 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.01101, allocations: 43.97 kB / 245.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.01107, allocations: 27.8 kB / 245.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.01108, allocations: 7.984 kB / 245.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.01109, allocations: 0 / 245.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.01109, allocations: 7.938 kB / 245.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01109, allocations: 0 / 245.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.01123, allocations: 233.3 kB / 245.8 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.01125, allocations: 0 / 245.8 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.01138, allocations: 15.98 kB / 245.9 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.01141, allocations: 4.031 kB / 245.9 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.01142, allocations: 4 kB / 245.9 MB, free: 12.47 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.389e-05/0.01147, allocations: 50.72 kB / 245.9 MB, free: 12.42 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01147, allocations: 0 / 245.9 MB, free: 12.42 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002602/0.01173, allocations: 19.94 kB / 245.9 MB, free: 12.4 MB / 250.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.0001165/0.01185, allocations: 80.41 kB / 246 MB, free: 12.32 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.01195, allocations: 40.78 kB / 246.1 MB, free: 12.27 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.01196, allocations: 3.984 kB / 246.1 MB, free: 12.27 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.803e-05/0.01198, allocations: 16.92 kB / 246.1 MB, free: 12.25 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.01246, allocations: 89.92 kB / 246.2 MB, free: 12.16 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.01387, allocations: 371.6 kB / 246.5 MB, free: 11.76 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.573e-05/0.01394, allocations: 83.83 kB / 246.6 MB, free: 11.66 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.149e-05/0.01399, allocations: 12.58 kB / 246.6 MB, free: 11.64 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.01411, allocations: 79.34 kB / 246.7 MB, free: 11.57 MB / 250.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01411, allocations: 0 / 246.7 MB, free: 11.57 MB / 250.7 MB Notification: Performance of Templates: time 0.005142/0.01925, allocations: 1.928 MB / 248.6 MB, free: 9.68 MB / 250.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 -ignoreHideResult -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: 2.5700962003320456]