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.001424/0.001424, allocations: 118.6 kB / 18.5 MB, free: 4.543 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.001842/0.001842, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.798/1.798, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.002013/0.002013, allocations: 63.89 kB / 373.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1396, allocations: 53.32 MB / 427.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.00372/0.1433, allocations: 1.932 MB / 429.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.1459, allocations: 1.318 MB / 430.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.146, allocations: 4 kB / 430.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.1464, allocations: 67.66 kB / 430.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.1468, allocations: 135.4 kB / 430.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007613/0.1475, allocations: 229.7 kB / 430.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.1478, allocations: 179.6 kB / 431 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.148, allocations: 29.48 kB / 431 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1481, allocations: 83.62 kB / 431.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1482, allocations: 91.59 kB / 431.2 MB, free: 440 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.1482, allocations: 8 kB / 431.2 MB, free: 432 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.1484, allocations: 67.91 kB / 431.3 MB, free: 364 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1485, allocations: 55.81 kB / 431.3 MB, free: 308 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.1486, allocations: 79.42 kB / 431.4 MB, free: 228 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3566/0.5053, allocations: 249 kB / 431.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.5053, allocations: 2.344 kB / 431.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5053, allocations: 0 / 431.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.5053, allocations: 0 / 431.6 MB, free: 8.434 MB / 350.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.0009155/0.5062, allocations: 0.5487 MB / 432.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.5063, allocations: 9.219 kB / 432.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.765e-05/0.5063, allocations: 28.98 kB / 432.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.5068, allocations: 297.8 kB / 432.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.5069, allocations: 7.422 kB / 432.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.5069, allocations: 5.469 kB / 432.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.5073, allocations: 184.5 kB / 432.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.5073, allocations: 4.656 kB / 432.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.5073, allocations: 0.7812 kB / 432.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.5074, allocations: 1.781 kB / 432.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.5075, allocations: 45.44 kB / 432.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006091/0.5081, allocations: 467 kB / 433.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.5084, allocations: 140.3 kB / 433.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.5085, allocations: 61.34 kB / 433.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.5086, allocations: 7.25 kB / 433.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.5087, allocations: 95.28 kB / 433.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.5088, allocations: 0 / 433.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005017/0.5093, allocations: 174.2 kB / 433.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.5094, allocations: 186.8 kB / 433.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.5098, allocations: 341.1 kB / 434.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.5098, allocations: 32.05 kB / 434.2 MB, free: 6.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.5099, allocations: 130.5 kB / 434.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.51, allocations: 23.25 kB / 434.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.51, allocations: 38.92 kB / 434.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.638e-05/0.5101, allocations: 339.2 kB / 434.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.868e-05/0.5102, allocations: 26.73 kB / 434.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.5103, allocations: 98.5 kB / 434.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.5105, allocations: 101.5 kB / 435 MB, free: 6.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5105, allocations: 0 / 435 MB, free: 6.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000254/0.5107, allocations: 138.5 kB / 435.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5107, allocations: 11.48 kB / 435.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5107, allocations: 2.094 kB / 435.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.5108, allocations: 4.844 kB / 435.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.5109, allocations: 18.83 kB / 435.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.5109, allocations: 7.5 kB / 435.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.343e-05/0.511, allocations: 10.45 kB / 435.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.511, allocations: 6.75 kB / 435.2 MB, free: 6.051 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.0001373/0.5112, allocations: 157.2 kB / 435.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.5113, allocations: 79.83 kB / 435.4 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.038e-05/0.5113, allocations: 27.83 kB / 435.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5113, allocations: 2.219 kB / 435.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5113, allocations: 2.312 kB / 435.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.5113, allocations: 6.734 kB / 435.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.5116, allocations: 253.2 kB / 435.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5116, allocations: 1 kB / 435.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.422e-05/0.5117, allocations: 15.27 kB / 435.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5117, allocations: 1.281 kB / 435.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.5117, allocations: 13.42 kB / 435.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.5117, allocations: 9.125 kB / 435.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5117, allocations: 4.219 kB / 435.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.512, allocations: 178.7 kB / 435.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.5122, allocations: 118 kB / 436 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.5122, allocations: 6.156 kB / 436 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.5123, allocations: 8.578 kB / 436 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.5123, allocations: 12.17 kB / 436 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.5124, allocations: 13.23 kB / 436.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002988/0.5127, allocations: 250.4 kB / 436.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5127, allocations: 0 / 436.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003285/0.513, allocations: 38.25 kB / 436.3 MB, free: 5.383 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001625/0.5146, allocations: 419.4 kB / 436.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003389/0.5149, allocations: 83.5 kB / 436.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.515, allocations: 0 / 436.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.5151, allocations: 33.59 kB / 436.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.5156, allocations: 80.19 kB / 436.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008172/0.5164, allocations: 401 kB / 437.3 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.5167, allocations: 0.7391 MB / 438.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.5168, allocations: 29.58 kB / 438.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.764e-05/0.5169, allocations: 26.55 kB / 438.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of SimCode: time 2.024e-06/0.5169, allocations: 0 / 438.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of Templates: time 0.0113/0.5282, allocations: 2.97 MB / 441.1 MB, free: 4.051 MB / 350.1 MB " [Timeout remaining time 659] 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.578753964044154]