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.001673/0.001673, allocations: 104.7 kB / 19.8 MB, free: 2.516 MB / 14.72 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.002003/0.002003, allocations: 213.2 kB / 23 MB, free: 5.609 MB / 14.72 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.755/1.755, allocations: 230.2 MB / 256.2 MB, free: 8.562 MB / 206.1 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 0.001908/0.001908, allocations: 67.89 kB / 376.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.372, allocations: 53.32 MB / 429.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.004373/0.3763, allocations: 1.945 MB / 431.7 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.379, allocations: 1.328 MB / 433.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.3791, allocations: 7.938 kB / 433.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.3795, allocations: 67.66 kB / 433.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004754/0.38, allocations: 135.4 kB / 433.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009094/0.3809, allocations: 222.6 kB / 433.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.3813, allocations: 195.4 kB / 433.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.3814, allocations: 21.55 kB / 433.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.3815, allocations: 75.69 kB / 433.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.3817, allocations: 91.55 kB / 433.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.3817, allocations: 16 kB / 433.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.3819, allocations: 71.94 kB / 433.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.382, allocations: 47.84 kB / 434 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.3821, allocations: 79.42 kB / 434.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.3826, allocations: 260.1 kB / 434.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3826, allocations: 0 / 434.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3826, allocations: 0 / 434.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.3826, allocations: 0 / 434.3 MB, free: 3.02 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.0008651/0.3835, allocations: 0.5426 MB / 434.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3835, allocations: 12.03 kB / 434.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.356e-05/0.3836, allocations: 28.75 kB / 434.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/0.3841, allocations: 307.6 kB / 435.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3842, allocations: 8.359 kB / 435.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.3842, allocations: 8.375 kB / 435.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.3846, allocations: 184.7 kB / 435.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3846, allocations: 0 / 435.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3846, allocations: 4 kB / 435.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3846, allocations: 0 / 435.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.3847, allocations: 43.91 kB / 435.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006682/0.3854, allocations: 470.6 kB / 435.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.3857, allocations: 142.5 kB / 436 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.3858, allocations: 55.42 kB / 436.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.3859, allocations: 7.984 kB / 436.1 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.3861, allocations: 101.1 kB / 436.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.3861, allocations: 4 kB / 436.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004593/0.3866, allocations: 165.6 kB / 436.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.3867, allocations: 196.2 kB / 436.6 MB, free: 488 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/0.3871, allocations: 335 kB / 436.9 MB, free: 144 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.3871, allocations: 33.7 kB / 436.9 MB, free: 104 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.3873, allocations: 132.3 kB / 437.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.3873, allocations: 23.83 kB / 437.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.3873, allocations: 29.72 kB / 437.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3875, allocations: 338.8 kB / 437.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.672e-05/0.3876, allocations: 23.98 kB / 437.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.3877, allocations: 107.8 kB / 437.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.3879, allocations: 101 kB / 437.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3879, allocations: 0 / 437.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002646/0.3882, allocations: 137.4 kB / 437.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3882, allocations: 4 kB / 437.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3882, allocations: 4 kB / 437.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3883, allocations: 4.156 kB / 437.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3884, allocations: 27.98 kB / 437.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.3884, allocations: 3.938 kB / 437.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.149e-05/0.3885, allocations: 7.953 kB / 437.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.3885, allocations: 4 kB / 437.9 MB, free: 15.1 MB / 350.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.0001771/0.3887, allocations: 169.7 kB / 438 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.3888, allocations: 69.5 kB / 438.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.3891, allocations: 123.5 kB / 438.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3891, allocations: 0 / 438.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3891, allocations: 4 kB / 438.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3891, allocations: 0 / 438.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.3894, allocations: 253.5 kB / 438.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3894, allocations: 0 / 438.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-05/0.3894, allocations: 20.05 kB / 438.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3894, allocations: 0 / 438.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3895, allocations: 8 kB / 438.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3895, allocations: 0 / 438.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3895, allocations: 8 kB / 438.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.3898, allocations: 183.3 kB / 438.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.3899, allocations: 116.9 kB / 438.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.39, allocations: 4 kB / 438.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.39, allocations: 15.98 kB / 438.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.3901, allocations: 7.984 kB / 438.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.3901, allocations: 4 kB / 438.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002669/0.3904, allocations: 249.9 kB / 439.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3904, allocations: 0 / 439.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.3907, allocations: 47.8 kB / 439.1 MB, free: 13.73 MB / 350.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 (11): * Single equations (assignments): 9 * 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.001574/0.3923, allocations: 426.5 kB / 439.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.3925, allocations: 83.84 kB / 439.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3925, allocations: 0 / 439.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.758e-05/0.3926, allocations: 31.98 kB / 439.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.3931, allocations: 75.55 kB / 439.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007618/0.3939, allocations: 399.2 kB / 440.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.3943, allocations: 0.7437 MB / 440.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.305e-05/0.3944, allocations: 25.53 kB / 440.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.3944, allocations: 31.42 kB / 440.9 MB, free: 12 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3944, allocations: 0 / 440.9 MB, free: 12 MB / 350.1 MB Notification: Performance of Templates: time 0.007728/0.4022, allocations: 2.999 MB / 443.9 MB, free: 9.023 MB / 350.1 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: 5.301425591111183]