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.001181/0.001181, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001179/0.001179, allocations: 165.7 kB / 24.99 MB, free: 8.789 MB / 18.57 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.083/1.083, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 2.875e-06/2.875e-06, allocations: 4 kB / 273.1 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.279e-05/3.567e-05, allocations: 2.312 kB / 273.1 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003043/0.003078, allocations: 1.967 MB / 275 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.004972, allocations: 1.254 MB / 276.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.005132, allocations: 4 kB / 276.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.005528, allocations: 67.59 kB / 276.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.005934, allocations: 147.3 kB / 276.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006357/0.006569, allocations: 231.1 kB / 276.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.006826, allocations: 187.4 kB / 276.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.006949, allocations: 25.73 kB / 276.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.007092, allocations: 107.7 kB / 277 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.007213, allocations: 75.8 kB / 277.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.007236, allocations: 8 kB / 277.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.007407, allocations: 67.94 kB / 277.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.124e-05/0.007498, allocations: 59.77 kB / 277.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.28e-05/0.007561, allocations: 43.84 kB / 277.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.007901, allocations: 195.2 kB / 277.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.007904, allocations: 0 / 277.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.007906, allocations: 0 / 277.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.007912, allocations: 0 / 277.5 MB, free: 13.42 MB / 266.7 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.0006801/0.008592, allocations: 0.5788 MB / 278 MB, free: 12.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.008632, allocations: 8.031 kB / 278.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/0.008721, allocations: 40.69 kB / 278.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.009088, allocations: 223.6 kB / 278.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.00911, allocations: 8.375 kB / 278.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.009126, allocations: 4.375 kB / 278.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.009478, allocations: 217.6 kB / 278.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.00949, allocations: 3.938 kB / 278.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.009504, allocations: 4 kB / 278.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.009514, allocations: 4 kB / 278.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.712e-05/0.009582, allocations: 31.91 kB / 278.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.01009, allocations: 497.9 kB / 279.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.01026, allocations: 156.3 kB / 279.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.652e-05/0.01032, allocations: 58.73 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.01034, allocations: 0 / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.01048, allocations: 100.3 kB / 279.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.01048, allocations: 0 / 279.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.000277/0.01076, allocations: 145.4 kB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.01083, allocations: 158.2 kB / 279.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.01107, allocations: 330.3 kB / 280 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.01108, allocations: 30.08 kB / 280 MB, free: 10.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.475e-05/0.01118, allocations: 187.1 kB / 280.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.01121, allocations: 19.83 kB / 280.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.01127, allocations: 35.38 kB / 280.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.01143, allocations: 0.5079 MB / 280.8 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.476e-05/0.01147, allocations: 4 kB / 280.8 MB, free: 9.777 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.899e-05/0.01154, allocations: 113.8 kB / 280.9 MB, free: 9.633 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.995e-05/0.01161, allocations: 58.98 kB / 280.9 MB, free: 9.562 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.01161, allocations: 0 / 280.9 MB, free: 9.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001238/0.01173, allocations: 101.5 kB / 281 MB, free: 9.457 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.01175, allocations: 4 kB / 281 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.01176, allocations: 3.984 kB / 281 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.01177, allocations: 4 kB / 281 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.418e-05/0.01186, allocations: 15.94 kB / 281.1 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.01186, allocations: 0 / 281.1 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.01191, allocations: 4 kB / 281.1 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.01192, allocations: 7.984 kB / 281.1 MB, free: 9.418 MB / 266.7 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 9.466e-05/0.01201, allocations: 165.2 kB / 281.2 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.728e-05/0.01209, allocations: 85.5 kB / 281.3 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.01226, allocations: 103.5 kB / 281.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01227, allocations: 0 / 281.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.01227, allocations: 3.938 kB / 281.4 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01228, allocations: 7.938 kB / 281.4 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.01244, allocations: 200.7 kB / 281.6 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01245, allocations: 0 / 281.6 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.614e-05/0.0125, allocations: 20 kB / 281.7 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.0125, allocations: 0 / 281.7 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.01252, allocations: 16.05 kB / 281.7 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01252, allocations: 0 / 281.7 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01252, allocations: 0 / 281.7 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.01269, allocations: 199.1 kB / 281.9 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.01274, allocations: 35.83 kB / 281.9 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.01277, allocations: 8 kB / 281.9 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.972e-05/0.01281, allocations: 0 / 281.9 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.01286, allocations: 11.98 kB / 281.9 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.01288, allocations: 11.98 kB / 281.9 MB, free: 8.469 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.01301, allocations: 230.9 kB / 282.2 MB, free: 8.246 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01301, allocations: 4 kB / 282.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002023/0.01321, allocations: 31.94 kB / 282.2 MB, free: 8.211 MB / 266.7 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.000943/0.01416, allocations: 406.2 kB / 282.6 MB, free: 7.953 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.01433, allocations: 59.59 kB / 282.6 MB, free: 7.891 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.01433, allocations: 4 kB / 282.6 MB, free: 7.887 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.055e-05/0.01438, allocations: 27.67 kB / 282.7 MB, free: 7.855 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.01472, allocations: 80.48 kB / 282.8 MB, free: 7.777 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.01521, allocations: 365.6 kB / 283.1 MB, free: 7.383 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.418e-05/0.01527, allocations: 91.97 kB / 283.2 MB, free: 7.273 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.547e-05/0.01532, allocations: 21.47 kB / 283.2 MB, free: 7.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.01537, allocations: 32.48 kB / 283.3 MB, free: 7.219 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01537, allocations: 0 / 283.3 MB, free: 7.219 MB / 266.7 MB Notification: Performance of Templates: time 0.005466/0.02084, allocations: 3.106 MB / 286.4 MB, free: 4.156 MB / 266.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0759238339960575]