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.001369/0.001369, allocations: 89.14 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001431/0.001431, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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.468/1.468, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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.093e-06/2.093e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.204e-05/3.413e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.0039/0.003934, allocations: 1.876 MB / 326.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00294/0.006874, allocations: 1.224 MB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.007057, allocations: 6.344 kB / 328.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.007454, allocations: 63.94 kB / 328.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.007952, allocations: 153.9 kB / 328.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009066/0.008859, allocations: 220.5 kB / 328.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003536/0.009212, allocations: 186.6 kB / 328.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.009337, allocations: 22.3 kB / 328.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.009523, allocations: 98.28 kB / 328.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.009677, allocations: 76.06 kB / 328.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.009707, allocations: 8 kB / 328.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.009912, allocations: 77.2 kB / 329 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.782e-05/0.01001, allocations: 52.31 kB / 329 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.976e-05/0.01009, allocations: 42.61 kB / 329.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.01052, allocations: 245.4 kB / 329.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01053, allocations: 0 / 329.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01053, allocations: 0 / 329.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.01053, allocations: 1.031 kB / 329.3 MB, free: 13.89 MB / 302.1 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.0008712/0.0114, allocations: 475.7 kB / 329.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.01145, allocations: 17.55 kB / 329.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.279e-05/0.01152, allocations: 23.86 kB / 329.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.01198, allocations: 226 kB / 330.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.012, allocations: 8.438 kB / 330.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.01202, allocations: 4.875 kB / 330.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.01245, allocations: 181.3 kB / 330.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.01246, allocations: 5.188 kB / 330.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.01247, allocations: 6.125 kB / 330.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.0125, allocations: 13.02 kB / 330.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.01263, allocations: 33.25 kB / 330.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.01319, allocations: 321.3 kB / 330.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.01348, allocations: 115.8 kB / 330.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.921e-05/0.01357, allocations: 42.69 kB / 330.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.0136, allocations: 9.219 kB / 330.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.01379, allocations: 86.84 kB / 330.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.01379, allocations: 0 / 330.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004341/0.01422, allocations: 158.1 kB / 331 MB, free: 12.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/0.01432, allocations: 131.9 kB / 331.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.01473, allocations: 338 kB / 331.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.01476, allocations: 31.77 kB / 331.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.01488, allocations: 125.7 kB / 331.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.01491, allocations: 19.55 kB / 331.7 MB, free: 12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/0.01497, allocations: 30.91 kB / 331.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.01517, allocations: 332.9 kB / 332 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.178e-05/0.01524, allocations: 23.73 kB / 332 MB, free: 11.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.01539, allocations: 113.9 kB / 332.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.01554, allocations: 62.59 kB / 332.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.01554, allocations: 5.125 kB / 332.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000234/0.01578, allocations: 115 kB / 332.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.01579, allocations: 5.062 kB / 332.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.0158, allocations: 4.375 kB / 332.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.01582, allocations: 1.25 kB / 332.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.01592, allocations: 10.19 kB / 332.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.01593, allocations: 9.328 kB / 332.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.01601, allocations: 7.25 kB / 332.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.01602, allocations: 6.203 kB / 332.4 MB, free: 11.37 MB / 302.1 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 0.0001577/0.01618, allocations: 151.8 kB / 332.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.0163, allocations: 72.67 kB / 332.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.01662, allocations: 128.3 kB / 332.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.01662, allocations: 6.375 kB / 332.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.01663, allocations: 1.094 kB / 332.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01663, allocations: 1.156 kB / 332.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.01688, allocations: 176.3 kB / 332.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01688, allocations: 1.25 kB / 332.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.127e-05/0.01695, allocations: 10.59 kB / 332.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.01696, allocations: 5.125 kB / 332.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.01698, allocations: 10.17 kB / 332.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.01698, allocations: 1.094 kB / 332.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.01699, allocations: 1.219 kB / 332.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.01732, allocations: 170.5 kB / 333.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.496e-05/0.01741, allocations: 45.78 kB / 333.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.01745, allocations: 2.312 kB / 333.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.01752, allocations: 6.297 kB / 333.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.01759, allocations: 11.64 kB / 333.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.01761, allocations: 4.688 kB / 333.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003219/0.01793, allocations: 252.2 kB / 333.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01793, allocations: 3.938 kB / 333.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.01824, allocations: 33.16 kB / 333.4 MB, free: 10.58 MB / 302.1 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.001844/0.02008, allocations: 454 kB / 333.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.02033, allocations: 67.19 kB / 333.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.02033, allocations: 1.531 kB / 333.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.02042, allocations: 25.45 kB / 334 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.02087, allocations: 66.7 kB / 334 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006847/0.02155, allocations: 384.3 kB / 334.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.02169, allocations: 135.6 kB / 334.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.68e-05/0.02178, allocations: 26.09 kB / 334.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/0.02184, allocations: 24.14 kB / 334.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.02184, allocations: 1.219 kB / 334.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of Templates: time 0.007649/0.02949, allocations: 3.018 MB / 337.6 MB, free: 8.242 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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.4016771055758]