Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.002375/0.002375, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 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.002565/0.002565, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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 1.586/1.586, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.705e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003776/0.003803, allocations: 1.927 MB / 274.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.006393, allocations: 1.261 MB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.006531, allocations: 4 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.006907, allocations: 71.59 kB / 275.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004634/0.00737, allocations: 139.2 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007556/0.008126, allocations: 223.2 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.008451, allocations: 195.4 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.008572, allocations: 29.78 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.008754, allocations: 99.72 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.008893, allocations: 75.73 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.008926, allocations: 12 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.009109, allocations: 71.88 kB / 276.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.009214, allocations: 59.77 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.195e-05/0.009296, allocations: 39.86 kB / 276.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.00972, allocations: 251.1 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.009723, allocations: 0 / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.831e-06/0.009729, allocations: 3.984 kB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.009735, allocations: 4 kB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009127/0.01065, allocations: 0.5863 MB / 277.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.01069, allocations: 11.98 kB / 277.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.463e-05/0.01078, allocations: 40.69 kB / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.01121, allocations: 231.5 kB / 277.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.01123, allocations: 4.375 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.01126, allocations: 8.375 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/0.0117, allocations: 217.5 kB / 277.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.01171, allocations: 192 / 277.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.01173, allocations: 4.375 kB / 277.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.01174, allocations: 11.92 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.01186, allocations: 35.92 kB / 277.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007616/0.01263, allocations: 0.5098 MB / 278.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.01296, allocations: 168.5 kB / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.01308, allocations: 66.73 kB / 278.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/0.01313, allocations: 11.94 kB / 278.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.01336, allocations: 112.3 kB / 278.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.01336, allocations: 0 / 278.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004627/0.01383, allocations: 161.3 kB / 278.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.01395, allocations: 162.2 kB / 278.9 MB, free: 10.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.01441, allocations: 378.3 kB / 279.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.01444, allocations: 34.08 kB / 279.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.0146, allocations: 195.1 kB / 279.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.01464, allocations: 23.83 kB / 279.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.01471, allocations: 35.38 kB / 279.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003027/0.01501, allocations: 0.5235 MB / 280.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.068e-05/0.01508, allocations: 15.98 kB / 280.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.01523, allocations: 125.7 kB / 280.3 MB, free: 9.344 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.01538, allocations: 67.06 kB / 280.3 MB, free: 9.266 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01538, allocations: 0 / 280.3 MB, free: 9.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002401/0.01562, allocations: 121.4 kB / 280.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.01564, allocations: 4 kB / 280.4 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01565, allocations: 0 / 280.4 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.01566, allocations: 4 kB / 280.5 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.01578, allocations: 15.92 kB / 280.5 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.01578, allocations: 4 kB / 280.5 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.01585, allocations: 8 kB / 280.5 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.01586, allocations: 0 / 280.5 MB, free: 9.105 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001776/0.01604, allocations: 176.5 kB / 280.6 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.01617, allocations: 85.44 kB / 280.7 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.01645, allocations: 119.4 kB / 280.8 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01646, allocations: 0 / 280.8 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.01646, allocations: 4 kB / 280.9 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01647, allocations: 0 / 280.9 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.01676, allocations: 224.8 kB / 281.1 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.01676, allocations: 4 kB / 281.1 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.806e-05/0.01684, allocations: 15.98 kB / 281.1 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.01685, allocations: 7.938 kB / 281.1 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01686, allocations: 0 / 281.1 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.01686, allocations: 12.05 kB / 281.1 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01687, allocations: 0 / 281.1 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.01722, allocations: 199.2 kB / 281.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.01733, allocations: 51.66 kB / 281.4 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.01736, allocations: 4 kB / 281.4 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.01743, allocations: 8 kB / 281.4 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.01748, allocations: 7.984 kB / 281.4 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.01751, allocations: 11.98 kB / 281.4 MB, free: 8.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002699/0.01778, allocations: 251 kB / 281.6 MB, free: 7.852 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01778, allocations: 0 / 281.6 MB, free: 7.852 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002746/0.01805, allocations: 31.94 kB / 281.7 MB, free: 7.82 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003057/0.02111, allocations: 454.8 kB / 282.1 MB, free: 7.523 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.02139, allocations: 79.53 kB / 282.2 MB, free: 7.441 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.02139, allocations: 0 / 282.2 MB, free: 7.441 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.02149, allocations: 39.67 kB / 282.2 MB, free: 7.398 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.02198, allocations: 73.95 kB / 282.3 MB, free: 7.324 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007374/0.02271, allocations: 389.6 kB / 282.7 MB, free: 6.906 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.0229, allocations: 132.2 kB / 282.8 MB, free: 6.754 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.286e-05/0.02298, allocations: 25.62 kB / 282.8 MB, free: 6.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.02305, allocations: 28.48 kB / 282.9 MB, free: 6.703 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02305, allocations: 0 / 282.9 MB, free: 6.703 MB / 266.7 MB Notification: Performance of Templates: time 0.008754/0.03181, allocations: 3.081 MB / 285.9 MB, free: 3.66 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.661589972907677]