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.001127/0.001127, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.006701/0.006701, allocations: 157.7 kB / 24.7 MB, free: 8.891 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 0.8785/0.8785, allocations: 177 MB / 204.9 MB, free: 5.73 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.054e-06/2.054e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.69e-05, allocations: 3.125 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.002629/0.002656, allocations: 1.885 MB / 327.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.003956, allocations: 1.229 MB / 328.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.404e-05/0.00405, allocations: 3.938 kB / 328.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.004317, allocations: 71.59 kB / 329 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.004577, allocations: 135.3 kB / 329.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.004974, allocations: 226.6 kB / 329.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.005153, allocations: 183.4 kB / 329.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.00525, allocations: 29.78 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.005361, allocations: 103.7 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.71e-05/0.005448, allocations: 67.8 kB / 329.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.005467, allocations: 12 kB / 329.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.005578, allocations: 71.88 kB / 329.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.005642, allocations: 51.84 kB / 329.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.005688, allocations: 43.78 kB / 329.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.005956, allocations: 243.2 kB / 330.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.005958, allocations: 4 kB / 330.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.005959, allocations: 0 / 330.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.005963, allocations: 3.938 kB / 330.1 MB, free: 11.03 MB / 298.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.0005139/0.006477, allocations: 470.6 kB / 330.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.006509, allocations: 15.98 kB / 330.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.006552, allocations: 20.8 kB / 330.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.00682, allocations: 232.7 kB / 330.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.006833, allocations: 12.31 kB / 330.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.006847, allocations: 8.375 kB / 330.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.007109, allocations: 181 kB / 331 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.007115, allocations: 192 / 331 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.007128, allocations: 4.375 kB / 331 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.007134, allocations: 7.938 kB / 331 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.213e-05/0.007216, allocations: 31.92 kB / 331.1 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.007568, allocations: 318.1 kB / 331.4 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.007733, allocations: 119.9 kB / 331.5 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.007786, allocations: 42.56 kB / 331.5 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.007805, allocations: 11.92 kB / 331.5 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/0.007923, allocations: 79.33 kB / 331.6 MB, free: 9.336 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.007924, allocations: 0 / 331.6 MB, free: 9.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002532/0.008178, allocations: 157.4 kB / 331.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.008241, allocations: 144.7 kB / 331.9 MB, free: 9.004 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.008466, allocations: 333.9 kB / 332.2 MB, free: 8.668 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.008482, allocations: 33.7 kB / 332.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.008551, allocations: 128 kB / 332.4 MB, free: 8.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.008571, allocations: 19.89 kB / 332.4 MB, free: 8.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.008605, allocations: 21.72 kB / 332.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.008688, allocations: 338.8 kB / 332.8 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.13e-05/0.008729, allocations: 19.98 kB / 332.8 MB, free: 8.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/0.008795, allocations: 114.8 kB / 332.9 MB, free: 7.957 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.689e-05/0.008872, allocations: 69.61 kB / 333 MB, free: 7.883 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.008874, allocations: 0 / 333 MB, free: 7.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001157/0.008989, allocations: 105.5 kB / 333.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.009001, allocations: 8 kB / 333.1 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.009005, allocations: 320 / 333.1 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.009015, allocations: 0 / 333.1 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-05/0.009079, allocations: 23.92 kB / 333.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.009085, allocations: 4 kB / 333.1 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.00913, allocations: 7.938 kB / 333.1 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-06/0.009135, allocations: 0 / 333.1 MB, free: 7.73 MB / 298.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 9.794e-05/0.009233, allocations: 150.7 kB / 333.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.009291, allocations: 73.42 kB / 333.3 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.009457, allocations: 131.6 kB / 333.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.00946, allocations: 7.984 kB / 333.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.009464, allocations: 0 / 333.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.009468, allocations: 0 / 333.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.009587, allocations: 177.2 kB / 333.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.009589, allocations: 4 kB / 333.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.009624, allocations: 8 kB / 333.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.009627, allocations: 8 kB / 333.7 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.009637, allocations: 11.98 kB / 333.7 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.009638, allocations: 3.938 kB / 333.7 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.00964, allocations: 4 kB / 333.7 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.009785, allocations: 166.6 kB / 333.9 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.009837, allocations: 39.78 kB / 333.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.009856, allocations: 7.984 kB / 333.9 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.858e-05/0.009885, allocations: 0 / 333.9 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.009928, allocations: 11.98 kB / 333.9 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.009941, allocations: 4 kB / 333.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001652/0.01011, allocations: 257.2 kB / 334.2 MB, free: 6.617 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01011, allocations: 96 / 334.2 MB, free: 6.617 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.01027, allocations: 35.88 kB / 334.2 MB, free: 6.582 MB / 298.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.0006684/0.01094, allocations: 446.2 kB / 334.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.01108, allocations: 67.91 kB / 334.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01108, allocations: 0 / 334.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.585e-05/0.01113, allocations: 31.92 kB / 334.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.01137, allocations: 65.03 kB / 334.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.0118, allocations: 417.7 kB / 335.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.543e-05/0.01188, allocations: 127.9 kB / 335.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.01192, allocations: 28.42 kB / 335.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01192, allocations: 192 / 335.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of Templates: time 0.003221/0.01514, allocations: 3.025 MB / 338.4 MB, free: 2.484 MB / 298.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=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.6668593706563115]