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.002112/0.002112, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.002568/0.002568, allocations: 156.9 kB / 24.26 MB, free: 148 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.519/1.519, allocations: 177 MB / 204.4 MB, free: 5.594 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 2.555e-06/2.555e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.201e-05/4.456e-05, allocations: 6.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.004032/0.004076, allocations: 1.904 MB / 274.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.006532, allocations: 1.238 MB / 275.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.006642, allocations: 4 kB / 275.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.006946, allocations: 67.61 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003908/0.007336, allocations: 143.2 kB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006473/0.007984, allocations: 227.2 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.008261, allocations: 191.4 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.008364, allocations: 25.8 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.008539, allocations: 103.7 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.008681, allocations: 75.78 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.008707, allocations: 8 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.008877, allocations: 79.81 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.086e-05/0.008968, allocations: 55.77 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.009043, allocations: 47.84 kB / 276.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000486/0.009529, allocations: 247.1 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.009533, allocations: 0 / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.009533, allocations: 0 / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.009546, allocations: 0 / 276.6 MB, free: 13.36 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.0007678/0.01031, allocations: 486.4 kB / 277.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.01035, allocations: 15.98 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.01043, allocations: 28.75 kB / 277.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.0109, allocations: 244.7 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.01092, allocations: 8.375 kB / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.01094, allocations: 8.375 kB / 277.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004364/0.01138, allocations: 193.8 kB / 277.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.01139, allocations: 4.125 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.01141, allocations: 4.375 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.01141, allocations: 3.938 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.01156, allocations: 39.97 kB / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006384/0.0122, allocations: 410.3 kB / 278 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.01253, allocations: 142.5 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.01265, allocations: 55.42 kB / 278.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.01269, allocations: 11.92 kB / 278.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.0129, allocations: 93.03 kB / 278.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 4.489e-06/0.01291, allocations: 8 kB / 278.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004707/0.01338, allocations: 173.4 kB / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.01352, allocations: 166.2 kB / 278.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.01394, allocations: 344.2 kB / 279 MB, free: 10.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.01397, allocations: 25.7 kB / 279 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.01411, allocations: 136.3 kB / 279.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.01414, allocations: 19.84 kB / 279.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.0142, allocations: 29.7 kB / 279.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.01441, allocations: 331.2 kB / 279.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.01449, allocations: 27.98 kB / 279.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.01464, allocations: 119.7 kB / 279.6 MB, free: 9.996 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.01481, allocations: 70.5 kB / 279.7 MB, free: 9.918 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01481, allocations: 0 / 279.7 MB, free: 9.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002573/0.01506, allocations: 125.3 kB / 279.8 MB, free: 9.789 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.01508, allocations: 4 kB / 279.8 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.01509, allocations: 7.984 kB / 279.9 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.0151, allocations: 4.094 kB / 279.9 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.01521, allocations: 15.94 kB / 279.9 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.01522, allocations: 0 / 279.9 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.73e-05/0.01529, allocations: 11.98 kB / 279.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.01531, allocations: 4 kB / 279.9 MB, free: 9.742 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.000383/0.01569, allocations: 150.1 kB / 280 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.01581, allocations: 89.36 kB / 280.1 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.01611, allocations: 135.5 kB / 280.3 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.01611, allocations: 8.062 kB / 280.3 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01612, allocations: 0 / 280.3 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.01612, allocations: 4 kB / 280.3 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.01635, allocations: 173.2 kB / 280.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01635, allocations: 0 / 280.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.09e-05/0.01643, allocations: 23.92 kB / 280.5 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.01643, allocations: 3.938 kB / 280.5 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.01645, allocations: 8 kB / 280.5 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01645, allocations: 0 / 280.5 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01645, allocations: 0 / 280.5 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.0168, allocations: 195.4 kB / 280.7 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.922e-05/0.0169, allocations: 55.66 kB / 280.7 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.01693, allocations: 0 / 280.7 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.017, allocations: 8 kB / 280.7 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.01706, allocations: 7.984 kB / 280.7 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.01708, allocations: 11.98 kB / 280.7 MB, free: 8.805 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002941/0.01738, allocations: 247.1 kB / 281 MB, free: 8.566 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01738, allocations: 0 / 281 MB, free: 8.566 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002748/0.01765, allocations: 39.92 kB / 281 MB, free: 8.527 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.001925/0.01958, allocations: 444.4 kB / 281.5 MB, free: 8.238 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.01983, allocations: 83.84 kB / 281.5 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01983, allocations: 0 / 281.5 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.01993, allocations: 35.92 kB / 281.6 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.02038, allocations: 70.03 kB / 281.6 MB, free: 8.051 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.02109, allocations: 411.3 kB / 282 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.02125, allocations: 140.2 kB / 282.2 MB, free: 7.453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.603e-05/0.02133, allocations: 21.64 kB / 282.2 MB, free: 7.434 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/0.0214, allocations: 28.48 kB / 282.2 MB, free: 7.406 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.0214, allocations: 0 / 282.2 MB, free: 7.406 MB / 266.7 MB Notification: Performance of Templates: time 0.007249/0.02865, allocations: 3.1 MB / 285.3 MB, free: 4.344 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] 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.540683467057534]