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.001402/0.001402, allocations: 89.38 kB / 20.69 MB, free: 1.02 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.0014/0.0014, allocations: 159 kB / 23.95 MB, free: 4.148 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.462/1.462, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.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 2.595e-06/2.595e-06, allocations: 0.7031 kB / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.937e-05, allocations: 5.375 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.00336/0.00339, allocations: 1.898 MB / 326.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.006199, allocations: 1.236 MB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.006367, allocations: 6.25 kB / 328.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.006784, allocations: 71.8 kB / 328.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005368/0.007321, allocations: 140.1 kB / 328.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008912/0.008212, allocations: 225.1 kB / 328.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.008596, allocations: 186.5 kB / 328.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.008754, allocations: 30.36 kB / 328.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.008979, allocations: 105.3 kB / 328.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.009151, allocations: 76.09 kB / 329 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.009186, allocations: 9.875 kB / 329 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.009405, allocations: 69.44 kB / 329 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.009531, allocations: 59.53 kB / 329.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.105e-05/0.009622, allocations: 40.86 kB / 329.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005281/0.01015, allocations: 256.4 kB / 329.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.01015, allocations: 1.188 kB / 329.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01015, allocations: 0 / 329.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.01017, allocations: 0.6094 kB / 329.4 MB, free: 13.86 MB / 302.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.0008386/0.011, allocations: 482.2 kB / 329.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.01104, allocations: 17.14 kB / 329.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/0.01111, allocations: 27.97 kB / 329.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.01157, allocations: 236.1 kB / 330.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.01159, allocations: 4.516 kB / 330.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.01161, allocations: 10 kB / 330.2 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/0.01203, allocations: 190.1 kB / 330.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.01204, allocations: 8.125 kB / 330.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.01207, allocations: 10.44 kB / 330.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.01209, allocations: 5.562 kB / 330.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.01222, allocations: 39.7 kB / 330.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/0.01289, allocations: 405.8 kB / 330.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.01323, allocations: 142.9 kB / 330.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.01335, allocations: 63.09 kB / 331 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.01338, allocations: 5.406 kB / 331 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.01361, allocations: 104.3 kB / 331.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.01361, allocations: 0 / 331.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005402/0.01415, allocations: 170.5 kB / 331.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.01429, allocations: 170.1 kB / 331.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.0147, allocations: 338.9 kB / 331.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.01473, allocations: 27.2 kB / 331.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.01485, allocations: 138.9 kB / 331.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.01488, allocations: 19.38 kB / 332 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.01493, allocations: 34.95 kB / 332 MB, free: 11.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.01512, allocations: 333.9 kB / 332.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.63e-05/0.01519, allocations: 23.55 kB / 332.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.01533, allocations: 117 kB / 332.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.01549, allocations: 70.44 kB / 332.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01549, allocations: 3.938 kB / 332.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002519/0.01575, allocations: 127.4 kB / 332.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.01576, allocations: 5.562 kB / 332.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01577, allocations: 0 / 332.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.01579, allocations: 1.156 kB / 332.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.0159, allocations: 16.73 kB / 332.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.01591, allocations: 5.031 kB / 332.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.701e-05/0.01598, allocations: 3.625 kB / 332.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.016, allocations: 6.312 kB / 332.7 MB, free: 11.08 MB / 302.1 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.0001615/0.01616, allocations: 149.8 kB / 332.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.01628, allocations: 89.03 kB / 332.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003244/0.01661, allocations: 128.3 kB / 333 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01661, allocations: 2.344 kB / 333 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.01662, allocations: 0.9062 kB / 333 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.01662, allocations: 2.344 kB / 333.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.01688, allocations: 177.7 kB / 333.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01688, allocations: 2.219 kB / 333.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-05/0.01697, allocations: 17.23 kB / 333.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.01697, allocations: 5 kB / 333.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.01699, allocations: 10.66 kB / 333.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01699, allocations: 1.219 kB / 333.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01699, allocations: 1.406 kB / 333.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.01734, allocations: 190.6 kB / 333.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.512e-05/0.01743, allocations: 41.58 kB / 333.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.01747, allocations: 7.312 kB / 333.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.486e-05/0.01757, allocations: 6.266 kB / 333.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.01763, allocations: 16.45 kB / 333.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.01765, allocations: 4.812 kB / 333.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002863/0.01794, allocations: 250.7 kB / 333.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01794, allocations: 5.188 kB / 333.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.01823, allocations: 34.16 kB / 333.8 MB, free: 10.25 MB / 302.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.001772/0.02, allocations: 447.6 kB / 334.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.02026, allocations: 77.19 kB / 334.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02027, allocations: 0 / 334.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.02038, allocations: 41.91 kB / 334.4 MB, free: 9.961 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.02082, allocations: 78.56 kB / 334.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007765/0.0216, allocations: 404.8 kB / 334.8 MB, free: 9.629 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.02177, allocations: 137.7 kB / 335 MB, free: 9.516 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.917e-05/0.02186, allocations: 30.75 kB / 335 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.02192, allocations: 24.89 kB / 335 MB, free: 9.492 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.02192, allocations: 0 / 335 MB, free: 9.492 MB / 302.1 MB Notification: Performance of Templates: time 0.007867/0.02979, allocations: 3.071 MB / 338.1 MB, free: 7.73 MB / 302.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: 4.421783313155174]