Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 123.4 kB / 17.79 MB, free: 5.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002497/0.002497, allocations: 204.3 kB / 20.74 MB, free: 2.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.703/1.703, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 47.92 kB / 373.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1464, allocations: 53.33 MB / 426.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003903/0.1503, allocations: 1.924 MB / 428.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.1527, allocations: 1.317 MB / 430 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1529, allocations: 3.938 kB / 430 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003963/0.1533, allocations: 75.59 kB / 430.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005898/0.1539, allocations: 139.4 kB / 430.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008177/0.1547, allocations: 219.1 kB / 430.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.155, allocations: 191.4 kB / 430.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.1551, allocations: 21.55 kB / 430.7 MB, free: 496 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1553, allocations: 87.62 kB / 430.8 MB, free: 408 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.1554, allocations: 87.61 kB / 430.8 MB, free: 320 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.1555, allocations: 8 kB / 430.9 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.1556, allocations: 79.88 kB / 430.9 MB, free: 232 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1558, allocations: 47.84 kB / 431 MB, free: 184 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.1559, allocations: 83.41 kB / 431.1 MB, free: 100 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3254/0.4813, allocations: 250.5 kB / 431.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.4813, allocations: 0 / 431.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4813, allocations: 0.6562 kB / 431.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.4813, allocations: 0 / 431.3 MB, free: 8.391 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.0009106/0.4822, allocations: 0.5485 MB / 431.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.4822, allocations: 9.719 kB / 431.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.938e-05/0.4823, allocations: 28.34 kB / 431.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.4827, allocations: 298.1 kB / 432.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.4828, allocations: 8.016 kB / 432.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.4828, allocations: 11.11 kB / 432.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.4832, allocations: 176.5 kB / 432.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.4833, allocations: 4.312 kB / 432.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.4833, allocations: 3.75 kB / 432.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.4833, allocations: 1.312 kB / 432.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.4834, allocations: 42.98 kB / 432.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006353/0.4841, allocations: 468 kB / 432.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.4844, allocations: 140.4 kB / 433 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.4845, allocations: 57.7 kB / 433.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.4845, allocations: 5.281 kB / 433.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.4847, allocations: 100.3 kB / 433.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.4847, allocations: 1 kB / 433.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004894/0.4852, allocations: 170.4 kB / 433.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/0.4853, allocations: 189.4 kB / 433.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.4857, allocations: 343.2 kB / 433.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.4857, allocations: 27.02 kB / 433.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.4858, allocations: 136.7 kB / 434 MB, free: 6.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.4858, allocations: 21.03 kB / 434 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/0.4859, allocations: 35.55 kB / 434.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.216e-05/0.4859, allocations: 338.3 kB / 434.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.871e-05/0.486, allocations: 28.52 kB / 434.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.4861, allocations: 101.2 kB / 434.5 MB, free: 6.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.4863, allocations: 96.05 kB / 434.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.4863, allocations: 2.781 kB / 434.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002695/0.4865, allocations: 136.5 kB / 434.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.4866, allocations: 9.203 kB / 434.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.4866, allocations: 1.344 kB / 434.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.4866, allocations: 1.25 kB / 434.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.4867, allocations: 23.73 kB / 434.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.4867, allocations: 0.5312 kB / 434.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.558e-05/0.4868, allocations: 20.73 kB / 434.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.4868, allocations: 4.094 kB / 434.8 MB, free: 6.004 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.0001307/0.487, allocations: 164.5 kB / 435 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-05/0.4871, allocations: 76.47 kB / 435.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.707e-05/0.4871, allocations: 27.05 kB / 435.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.4871, allocations: 1.75 kB / 435.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.4871, allocations: 2.5 kB / 435.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.4871, allocations: 1.5 kB / 435.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.4874, allocations: 255.9 kB / 435.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4874, allocations: 3.844 kB / 435.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-05/0.4875, allocations: 19.11 kB / 435.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4875, allocations: 1.031 kB / 435.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.4875, allocations: 5.625 kB / 435.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4875, allocations: 1.156 kB / 435.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4875, allocations: 5.359 kB / 435.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.4878, allocations: 193.2 kB / 435.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-05/0.4879, allocations: 114 kB / 435.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.4879, allocations: 6.922 kB / 435.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.488, allocations: 8.156 kB / 435.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.4881, allocations: 8.766 kB / 435.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.4881, allocations: 7.562 kB / 435.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002843/0.4884, allocations: 256.5 kB / 436 MB, free: 5.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4884, allocations: 1.188 kB / 436 MB, free: 5.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003279/0.4887, allocations: 35 kB / 436 MB, free: 5.332 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.001626/0.4903, allocations: 427.3 kB / 436.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.4906, allocations: 80.84 kB / 436.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4906, allocations: 320 / 436.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.4907, allocations: 39.62 kB / 436.5 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.4912, allocations: 71.38 kB / 436.6 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/0.4919, allocations: 389.5 kB / 437 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.4921, allocations: 0.7482 MB / 437.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.923e-05/0.4922, allocations: 28.73 kB / 437.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.225e-05/0.4923, allocations: 25.05 kB / 437.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4923, allocations: 0 / 437.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of Templates: time 0.009399/0.5017, allocations: 2.985 MB / 440.8 MB, free: 4.027 MB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 5.451634522527456]