Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.001615/0.001615, allocations: 103.6 kB / 20.43 MB, free: 1.211 MB / 14.72 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.001897/0.001897, allocations: 184.7 kB / 23.71 MB, free: 4.434 MB / 14.72 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.466/1.466, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 43.92 kB / 370.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2598, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003648/0.2635, allocations: 1.894 MB / 424.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.2655, allocations: 1.091 MB / 426 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.2656, allocations: 3.938 kB / 426 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.2659, allocations: 63.67 kB / 426.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.2662, allocations: 95.58 kB / 426.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007759/0.267, allocations: 273.6 kB / 426.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.2673, allocations: 175.5 kB / 426.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.2674, allocations: 21.72 kB / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.2675, allocations: 83.64 kB / 426.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.2677, allocations: 83.66 kB / 426.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.2677, allocations: 8 kB / 426.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.2679, allocations: 67.95 kB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.182e-05/0.268, allocations: 63.69 kB / 427 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.227e-05/0.268, allocations: 55.61 kB / 427 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.2684, allocations: 245.3 kB / 427.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2684, allocations: 0 / 427.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2684, allocations: 4 kB / 427.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.2684, allocations: 0 / 427.3 MB, free: 10.27 MB / 334.1 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.0007687/0.2692, allocations: 482.4 kB / 427.7 MB, free: 9.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2692, allocations: 12.03 kB / 427.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.2693, allocations: 20.8 kB / 427.8 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.2697, allocations: 229.5 kB / 428 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.2697, allocations: 12.36 kB / 428 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.2697, allocations: 12.12 kB / 428 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.2701, allocations: 185.3 kB / 428.2 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2701, allocations: 3.938 kB / 428.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.2701, allocations: 8 kB / 428.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2701, allocations: 0 / 428.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.2703, allocations: 47.91 kB / 428.2 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.2708, allocations: 406.1 kB / 428.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.2711, allocations: 142.5 kB / 428.8 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.2712, allocations: 55.42 kB / 428.8 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.2713, allocations: 3.984 kB / 428.8 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.2714, allocations: 105 kB / 428.9 MB, free: 8.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.2714, allocations: 0 / 428.9 MB, free: 8.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004392/0.2719, allocations: 173.4 kB / 429.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.272, allocations: 162.2 kB / 429.3 MB, free: 8.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/0.2724, allocations: 337.8 kB / 429.6 MB, free: 7.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.2724, allocations: 25.7 kB / 429.6 MB, free: 7.641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.2725, allocations: 128.4 kB / 429.8 MB, free: 7.508 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.2725, allocations: 15.89 kB / 429.8 MB, free: 7.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.696e-05/0.2726, allocations: 33.67 kB / 429.8 MB, free: 7.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2728, allocations: 338.8 kB / 430.1 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-05/0.2728, allocations: 32.3 kB / 430.2 MB, free: 7.082 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.273, allocations: 154.4 kB / 430.3 MB, free: 6.895 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.2732, allocations: 97.08 kB / 430.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2732, allocations: 0 / 430.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002721/0.2735, allocations: 141.5 kB / 430.5 MB, free: 6.637 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2735, allocations: 12.03 kB / 430.6 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2735, allocations: 0 / 430.6 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2735, allocations: 4 kB / 430.6 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.2736, allocations: 23.92 kB / 430.6 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2736, allocations: 4 kB / 430.6 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-05/0.2737, allocations: 11.92 kB / 430.6 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.2737, allocations: 11.94 kB / 430.6 MB, free: 6.57 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000148/0.2739, allocations: 149.8 kB / 430.8 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.274, allocations: 81.48 kB / 430.8 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.2743, allocations: 131.4 kB / 431 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2743, allocations: 0 / 431 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.2743, allocations: 4 kB / 431 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2743, allocations: 0 / 431 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.2745, allocations: 181.1 kB / 431.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2745, allocations: 0 / 431.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.626e-05/0.2746, allocations: 16 kB / 431.2 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2746, allocations: 0 / 431.2 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.2746, allocations: 7.984 kB / 431.2 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2746, allocations: 4.062 kB / 431.2 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2746, allocations: 4.047 kB / 431.2 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.2749, allocations: 195.4 kB / 431.4 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.275, allocations: 51.7 kB / 431.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.275, allocations: 0 / 431.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.2751, allocations: 4 kB / 431.4 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.2752, allocations: 11.98 kB / 431.4 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.2752, allocations: 7.984 kB / 431.4 MB, free: 5.656 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002551/0.2754, allocations: 245.2 kB / 431.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2754, allocations: 0 / 431.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.2757, allocations: 32 kB / 431.7 MB, free: 5.383 MB / 334.1 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.001686/0.2774, allocations: 464 kB / 432.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.2777, allocations: 83.89 kB / 432.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.2777, allocations: 4 kB / 432.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.936e-05/0.2778, allocations: 35.92 kB / 432.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.2782, allocations: 70.86 kB / 432.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006531/0.2788, allocations: 389.5 kB / 432.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.279, allocations: 139.9 kB / 432.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.333e-05/0.2791, allocations: 33.95 kB / 432.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.2791, allocations: 19.44 kB / 432.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2791, allocations: 0 / 432.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of Templates: time 0.00762/0.2867, allocations: 3.209 MB / 436.1 MB, free: 1.133 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.507158782333136]