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.001349/0.001349, allocations: 112 kB / 20.43 MB, free: 1.449 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.001436/0.001436, allocations: 187.8 kB / 23.72 MB, free: 4.68 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.519/1.519, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.001554/0.001554, allocations: 43.92 kB / 370.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3798, allocations: 52.19 MB / 423.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.00476/0.3846, allocations: 1.941 MB / 425.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.3869, allocations: 1.18 MB / 426.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.3871, allocations: 3.938 kB / 426.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003991/0.3875, allocations: 67.66 kB / 426.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.3878, allocations: 95.59 kB / 426.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007968/0.3886, allocations: 263.9 kB / 426.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.3889, allocations: 183.5 kB / 426.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.389, allocations: 21.73 kB / 426.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.3891, allocations: 79.69 kB / 426.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.3893, allocations: 83.67 kB / 427 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.3893, allocations: 15.94 kB / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.3895, allocations: 75.94 kB / 427.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.3896, allocations: 51.78 kB / 427.2 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.3897, allocations: 79.47 kB / 427.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.3901, allocations: 244.2 kB / 427.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.3901, allocations: 7.984 kB / 427.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3902, allocations: 0 / 427.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.3902, allocations: 0 / 427.5 MB, free: 10.35 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.0008592/0.391, allocations: 470.5 kB / 427.9 MB, free: 9.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3911, allocations: 16.03 kB / 428 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.398e-05/0.3911, allocations: 28.75 kB / 428 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.3916, allocations: 233.5 kB / 428.2 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.3916, allocations: 8.375 kB / 428.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.3917, allocations: 8.125 kB / 428.2 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.3922, allocations: 172.4 kB / 428.4 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.3922, allocations: 3.938 kB / 428.4 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.3922, allocations: 4 kB / 428.4 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.3923, allocations: 0 / 428.4 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.3924, allocations: 35.98 kB / 428.4 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008652/0.3933, allocations: 449.5 kB / 428.9 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.3936, allocations: 138.5 kB / 429 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.3937, allocations: 55.34 kB / 429.1 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.554e-05/0.3938, allocations: 12.06 kB / 429.1 MB, free: 8.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/0.394, allocations: 97.03 kB / 429.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.394, allocations: 0 / 429.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005589/0.3946, allocations: 165.4 kB / 429.3 MB, free: 8.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.3948, allocations: 196.2 kB / 429.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.3952, allocations: 329.8 kB / 429.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.3952, allocations: 29.7 kB / 429.9 MB, free: 7.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3954, allocations: 128.4 kB / 430 MB, free: 7.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.3954, allocations: 15.91 kB / 430 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.539e-05/0.3955, allocations: 45.59 kB / 430.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3957, allocations: 334.8 kB / 430.4 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.319e-05/0.3957, allocations: 28.23 kB / 430.4 MB, free: 7.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.3959, allocations: 95.7 kB / 430.5 MB, free: 6.996 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.3961, allocations: 105 kB / 430.6 MB, free: 6.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3961, allocations: 0 / 430.6 MB, free: 6.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002723/0.3964, allocations: 137.4 kB / 430.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3964, allocations: 8 kB / 430.8 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.3964, allocations: 3.938 kB / 430.8 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.3964, allocations: 4.156 kB / 430.8 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.3966, allocations: 23.98 kB / 430.8 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.3966, allocations: 0 / 430.8 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.08e-05/0.3967, allocations: 15.88 kB / 430.8 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.3967, allocations: 8 kB / 430.8 MB, free: 6.672 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.0001911/0.3969, allocations: 157.8 kB / 431 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.397, allocations: 65.55 kB / 431 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.3973, allocations: 131.4 kB / 431.2 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3973, allocations: 0 / 431.2 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.3973, allocations: 4 kB / 431.2 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3973, allocations: 3.938 kB / 431.2 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.3976, allocations: 216.6 kB / 431.4 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3976, allocations: 4 kB / 431.4 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.378e-05/0.3977, allocations: 15.94 kB / 431.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3977, allocations: 128 / 431.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.3977, allocations: 11.98 kB / 431.4 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3977, allocations: 0 / 431.4 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3977, allocations: 4 kB / 431.4 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.398, allocations: 187.4 kB / 431.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.3981, allocations: 35.78 kB / 431.6 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.3982, allocations: 11.98 kB / 431.6 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.3982, allocations: 8 kB / 431.6 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.3983, allocations: 19.86 kB / 431.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.3983, allocations: 4 kB / 431.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002569/0.3986, allocations: 245.2 kB / 431.9 MB, free: 5.473 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3986, allocations: 0 / 431.9 MB, free: 5.473 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.3989, allocations: 35.94 kB / 431.9 MB, free: 5.438 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 (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.00168/0.4006, allocations: 418.1 kB / 432.4 MB, free: 5.184 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003141/0.4009, allocations: 87.72 kB / 432.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4009, allocations: 0 / 432.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.401, allocations: 35.97 kB / 432.5 MB, free: 5.062 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.4015, allocations: 66.44 kB / 432.5 MB, free: 5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007925/0.4023, allocations: 386.2 kB / 432.9 MB, free: 4.586 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.4027, allocations: 0.7514 MB / 433.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.647e-05/0.4028, allocations: 25.48 kB / 433.7 MB, free: 3.785 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/0.4029, allocations: 23.44 kB / 433.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4029, allocations: 0 / 433.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of Templates: time 0.00823/0.4111, allocations: 3 MB / 436.7 MB, free: 0.7891 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.970923118293285]