Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.0009856/0.0009856, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001068/0.001068, allocations: 171.5 kB / 24.91 MB, free: 8.785 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 0.9641/0.9641, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.818e-05, allocations: 2.312 kB / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002484/0.002502, allocations: 2.005 MB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.00404, allocations: 1.301 MB / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.004152, allocations: 4 kB / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.004422, allocations: 67.55 kB / 276.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002895/0.004711, allocations: 127.4 kB / 277 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005753/0.005286, allocations: 239 kB / 277.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.005508, allocations: 195.4 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.642e-05/0.005594, allocations: 26.33 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.005724, allocations: 111.7 kB / 277.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.005829, allocations: 71.78 kB / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.005848, allocations: 8 kB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.005996, allocations: 71.94 kB / 277.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.006052, allocations: 55.78 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.006097, allocations: 47.78 kB / 277.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.006318, allocations: 203.2 kB / 278 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.006319, allocations: 4 kB / 278 MB, free: 12.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.00632, allocations: 0 / 278 MB, free: 12.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.006323, allocations: 0 / 278 MB, free: 12.73 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.000406/0.006729, allocations: 449 kB / 278.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.006758, allocations: 8.031 kB / 278.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.006796, allocations: 24.91 kB / 278.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.007004, allocations: 229.7 kB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.007017, allocations: 4.375 kB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.00703, allocations: 12.36 kB / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.007218, allocations: 158.8 kB / 278.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.007226, allocations: 3.938 kB / 278.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.007231, allocations: 0 / 278.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.007236, allocations: 0 / 278.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.805e-05/0.007274, allocations: 30.75 kB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.007516, allocations: 216.4 kB / 279.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.007633, allocations: 152 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.354e-05/0.007667, allocations: 39.48 kB / 279.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.007688, allocations: 15.94 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.383e-05/0.007771, allocations: 70.14 kB / 279.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.007773, allocations: 0 / 279.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001398/0.007913, allocations: 93.53 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.007972, allocations: 136.5 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.008152, allocations: 272.7 kB / 279.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.008168, allocations: 25.7 kB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.008214, allocations: 113.1 kB / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.008236, allocations: 23.88 kB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.008267, allocations: 25.7 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.008372, allocations: 338.7 kB / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.008386, allocations: 10.77 kB / 280.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-05/0.008419, allocations: 56.25 kB / 280.4 MB, free: 10.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.907e-05/0.008458, allocations: 35.36 kB / 280.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.00846, allocations: 256 / 280.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.995e-05/0.00853, allocations: 80.38 kB / 280.6 MB, free: 9.879 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.008539, allocations: 4 kB / 280.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.008543, allocations: 4.062 kB / 280.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.008553, allocations: 4 kB / 280.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.539e-05/0.008609, allocations: 11.98 kB / 280.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.008611, allocations: 0 / 280.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.008647, allocations: 4 kB / 280.6 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-06/0.008653, allocations: 4 kB / 280.6 MB, free: 9.848 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.856e-05/0.008721, allocations: 127 kB / 280.7 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.008768, allocations: 65.55 kB / 280.8 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.273e-05/0.00886, allocations: 83.55 kB / 280.9 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.008864, allocations: 4 kB / 280.9 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.008865, allocations: 0 / 280.9 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008869, allocations: 0 / 280.9 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.174e-05/0.00896, allocations: 121.7 kB / 281 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008962, allocations: 4 kB / 281 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.009004, allocations: 23.91 kB / 281 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.009006, allocations: 0 / 281 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.009014, allocations: 7.938 kB / 281 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.009015, allocations: 0 / 281 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.009017, allocations: 4 kB / 281 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.00916, allocations: 117.3 kB / 281.1 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.009203, allocations: 39.78 kB / 281.2 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.009222, allocations: 7.938 kB / 281.2 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.987e-05/0.009252, allocations: 8 kB / 281.2 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.009285, allocations: 7.984 kB / 281.2 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.009295, allocations: 0 / 281.2 MB, free: 9.168 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.578e-05/0.00937, allocations: 107.5 kB / 281.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00937, allocations: 0 / 281.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001327/0.009503, allocations: 35.92 kB / 281.3 MB, free: 9.023 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,backSample1.y,shiftSample1.y,backSample1.u,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.001003/0.01051, allocations: 0.5349 MB / 281.9 MB, free: 8.719 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.93e-05/0.01061, allocations: 44.77 kB / 281.9 MB, free: 8.672 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.01061, allocations: 4 kB / 281.9 MB, free: 8.668 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.232e-05/0.01064, allocations: 20.8 kB / 281.9 MB, free: 8.645 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.01085, allocations: 69.38 kB / 282 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.01122, allocations: 364.7 kB / 282.4 MB, free: 8.188 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.688e-05/0.01127, allocations: 83.97 kB / 282.4 MB, free: 8.086 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.877e-05/0.01131, allocations: 21.78 kB / 282.5 MB, free: 8.066 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.128e-05/0.01141, allocations: 91.34 kB / 282.6 MB, free: 7.977 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01141, allocations: 0 / 282.6 MB, free: 7.977 MB / 266.7 MB Notification: Performance of Templates: time 0.004845/0.01625, allocations: 3.442 MB / 286 MB, free: 4.602 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.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: 2.665730567649007]