Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 157.4 kB / 24.48 MB, free: 3.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 173.4 MB / 201.1 MB, free: 12.59 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 45.67 kB / 319.4 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08479/0.08634, allocations: 52.16 MB / 371.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003426/0.08976, allocations: 1.861 MB / 373.4 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.09169, allocations: 1.083 MB / 374.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.09179, allocations: 3.938 kB / 374.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.09209, allocations: 67.66 kB / 374.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.09235, allocations: 87.66 kB / 374.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.09304, allocations: 259 kB / 374.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.0933, allocations: 179.4 kB / 375.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.0934, allocations: 17.8 kB / 375.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.09353, allocations: 79.69 kB / 375.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.09367, allocations: 79.61 kB / 375.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.09369, allocations: 8 kB / 375.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.09387, allocations: 75.94 kB / 375.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.947e-05/0.09396, allocations: 47.84 kB / 375.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.09404, allocations: 59.55 kB / 375.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.0944, allocations: 243 kB / 375.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.09441, allocations: 0 / 375.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09441, allocations: 0 / 375.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.09441, allocations: 0 / 375.7 MB, free: 3.234 MB / 334.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.0007524/0.09516, allocations: 470.5 kB / 376.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.0952, allocations: 8.031 kB / 376.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.09527, allocations: 24.8 kB / 376.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.0957, allocations: 233.5 kB / 376.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.09571, allocations: 4.375 kB / 376.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.09573, allocations: 12.12 kB / 376.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.09611, allocations: 176.4 kB / 376.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.09612, allocations: 3.938 kB / 376.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.09614, allocations: 7.984 kB / 376.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.09615, allocations: 4 kB / 376.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.09627, allocations: 35.98 kB / 376.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.09678, allocations: 318 kB / 377 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.09704, allocations: 115.9 kB / 377.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.953e-05/0.09714, allocations: 46.56 kB / 377.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.09716, allocations: 4 kB / 377.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.09733, allocations: 87.25 kB / 377.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.09733, allocations: 4 kB / 377.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000424/0.09775, allocations: 161.4 kB / 377.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.09785, allocations: 128.5 kB / 377.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.09824, allocations: 325.9 kB / 377.8 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.09826, allocations: 29.7 kB / 377.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.09837, allocations: 124.1 kB / 378 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.0984, allocations: 19.84 kB / 378 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.09846, allocations: 37.66 kB / 378 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.09863, allocations: 331 kB / 378.3 MB, free: 340 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.475e-05/0.09871, allocations: 35.92 kB / 378.4 MB, free: 304 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.09886, allocations: 129.4 kB / 378.5 MB, free: 140 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.09904, allocations: 84.22 kB / 378.6 MB, free: 40 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.09904, allocations: 0 / 378.6 MB, free: 40 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002686/0.09931, allocations: 133.7 kB / 378.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.09932, allocations: 7.938 kB / 378.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.09933, allocations: 4 kB / 378.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.09934, allocations: 0 / 378.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.09946, allocations: 19.98 kB / 378.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.09947, allocations: 3.984 kB / 378.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.947e-05/0.09955, allocations: 11.95 kB / 378.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.09957, allocations: 4 kB / 378.8 MB, free: 15.85 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001512/0.09972, allocations: 157.7 kB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.09982, allocations: 65.62 kB / 379 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.1001, allocations: 127.4 kB / 379.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1001, allocations: 3.938 kB / 379.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.1001, allocations: 4 kB / 379.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1001, allocations: 0 / 379.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.1003, allocations: 189 kB / 379.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1003, allocations: 320 / 379.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.356e-05/0.1004, allocations: 12 kB / 379.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1004, allocations: 3.984 kB / 379.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1004, allocations: 4 kB / 379.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1004, allocations: 8.062 kB / 379.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1004, allocations: 3.938 kB / 379.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.1007, allocations: 170.6 kB / 379.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.1008, allocations: 39.78 kB / 379.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.1009, allocations: 7.984 kB / 379.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.898e-05/0.1009, allocations: 4 kB / 379.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.101, allocations: 11.98 kB / 379.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.101, allocations: 4 kB / 379.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000261/0.1012, allocations: 241.2 kB / 379.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1012, allocations: 0 / 379.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1015, allocations: 39.92 kB / 379.8 MB, free: 14.7 MB / 350.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.00167/0.1032, allocations: 454.6 kB / 380.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.1034, allocations: 75.84 kB / 380.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1034, allocations: 0 / 380.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.063e-05/0.1035, allocations: 31.92 kB / 380.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.1039, allocations: 64.47 kB / 380.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005963/0.1045, allocations: 372.7 kB / 380.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.1046, allocations: 131.9 kB / 380.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.771e-05/0.1047, allocations: 29.62 kB / 381 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.1048, allocations: 24.5 kB / 381 MB, free: 13.67 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1048, allocations: 0 / 381 MB, free: 13.67 MB / 350.1 MB Notification: Performance of Templates: time 0.007026/0.1118, allocations: 3.004 MB / 384 MB, free: 10.71 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.232339491019957]