Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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.0009508/0.0009508, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001232/0.001232, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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.016/1.016, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.972e-05, allocations: 5.266 kB / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.002514/0.002534, allocations: 1.968 MB / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.004135, allocations: 1.273 MB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.00425, allocations: 0 / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.004526, allocations: 71.59 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.004833, allocations: 135.2 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.005324, allocations: 223.2 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.005519, allocations: 187.4 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.25e-05/0.005591, allocations: 22.45 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.005708, allocations: 99.72 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.863e-05/0.005806, allocations: 67.8 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.005827, allocations: 8 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.005982, allocations: 79.81 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.006039, allocations: 51.84 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.006092, allocations: 47.78 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.006318, allocations: 191.2 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.00632, allocations: 0 / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006321, allocations: 0 / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.006325, allocations: 0 / 277.8 MB, free: 12.59 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004239/0.006749, allocations: 445.2 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.006779, allocations: 11.98 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.006816, allocations: 16.92 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.007018, allocations: 220.7 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.00703, allocations: 4.375 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.007042, allocations: 8.375 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.007213, allocations: 145.8 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.00722, allocations: 192 / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.007228, allocations: 4.375 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.007233, allocations: 3.938 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.774e-05/0.007271, allocations: 26.75 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.007529, allocations: 211.5 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.007634, allocations: 125.3 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.007665, allocations: 34.56 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.007676, allocations: 0 / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.012e-05/0.007766, allocations: 78.16 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 8.22e-07/0.007767, allocations: 4 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001309/0.007897, allocations: 81.59 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.00795, allocations: 114.7 kB / 279.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.008112, allocations: 250.7 kB / 279.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.008131, allocations: 37.69 kB / 279.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.008172, allocations: 104.6 kB / 279.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.008191, allocations: 11.91 kB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.008224, allocations: 33.64 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.906e-05/0.008303, allocations: 335 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.008317, allocations: 14.83 kB / 280.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.325e-05/0.00835, allocations: 52.27 kB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.336e-05/0.008393, allocations: 47.28 kB / 280.2 MB, free: 9.969 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.008395, allocations: 0 / 280.2 MB, free: 9.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.684e-05/0.008461, allocations: 60.5 kB / 280.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.008472, allocations: 7.938 kB / 280.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.008475, allocations: 4.312 kB / 280.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.008486, allocations: 0 / 280.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.78e-05/0.008544, allocations: 23.98 kB / 280.3 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-06/0.008546, allocations: 4 kB / 280.3 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.081e-05/0.008577, allocations: 7.938 kB / 280.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.008581, allocations: 4 kB / 280.3 MB, free: 9.852 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 7.528e-05/0.008657, allocations: 116.7 kB / 280.4 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.008699, allocations: 57.55 kB / 280.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.173e-05/0.008791, allocations: 79.58 kB / 280.5 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.008794, allocations: 4 kB / 280.6 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.008795, allocations: 0 / 280.6 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.008798, allocations: 4.062 kB / 280.6 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.606e-05/0.008894, allocations: 117.8 kB / 280.7 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.008895, allocations: 0 / 280.7 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.008928, allocations: 11.94 kB / 280.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.00893, allocations: 4 kB / 280.7 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.008936, allocations: 3.984 kB / 280.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.008937, allocations: 3.938 kB / 280.7 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008939, allocations: 4.078 kB / 280.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.1e-05/0.00902, allocations: 104.5 kB / 280.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.009062, allocations: 35.83 kB / 280.8 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.009081, allocations: 11.98 kB / 280.8 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.738e-05/0.009108, allocations: 7.922 kB / 280.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.00914, allocations: 15.92 kB / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.009149, allocations: 4 kB / 280.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.487e-05/0.009224, allocations: 97.59 kB / 281 MB, free: 9.109 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009224, allocations: 4 kB / 281 MB, free: 9.105 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001413/0.009365, allocations: 31.94 kB / 281 MB, free: 9.074 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,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 (10): * Single equations (assignments): 8 * 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.001137/0.0105, allocations: 0.5019 MB / 281.5 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.74e-05/0.0106, allocations: 40.78 kB / 281.5 MB, free: 8.711 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.01061, allocations: 4 kB / 281.6 MB, free: 8.707 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.359e-05/0.01064, allocations: 24.83 kB / 281.6 MB, free: 8.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.01083, allocations: 75.7 kB / 281.7 MB, free: 8.605 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.0112, allocations: 335.5 kB / 282 MB, free: 8.242 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.501e-05/0.01124, allocations: 79.97 kB / 282.1 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.803e-05/0.01129, allocations: 25.88 kB / 282.1 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.351e-05/0.01137, allocations: 83.36 kB / 282.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01137, allocations: 0 / 282.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of Templates: time 0.004617/0.01599, allocations: 3.206 MB / 285.4 MB, free: 4.887 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.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.830276213120669]