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.001004/0.001004, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 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.0015/0.0015, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 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.019/1.019, allocations: 173.3 MB / 201.1 MB, free: 9.34 MB / 186.7 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 1.653e-06/1.653e-06, allocations: 0 / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.167e-05, allocations: 2.312 kB / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.002793/0.002825, allocations: 1.928 MB / 269.9 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.00434, allocations: 1.118 MB / 271 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.00447, allocations: 3.938 kB / 271 MB, free: 3.383 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.004821, allocations: 71.61 kB / 271.1 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.005105, allocations: 95.52 kB / 271.2 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006557/0.005761, allocations: 255.1 kB / 271.4 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.006011, allocations: 175.5 kB / 271.6 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.006122, allocations: 25.73 kB / 271.6 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.006254, allocations: 103.7 kB / 271.7 MB, free: 2.668 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.006366, allocations: 71.8 kB / 271.8 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.006391, allocations: 8 kB / 271.8 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.006538, allocations: 67.92 kB / 271.9 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.006616, allocations: 51.84 kB / 271.9 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.471e-05/0.006671, allocations: 31.86 kB / 272 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.006951, allocations: 187.2 kB / 272.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.006955, allocations: 4 kB / 272.2 MB, free: 2.254 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006956, allocations: 0 / 272.2 MB, free: 2.254 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.006961, allocations: 4 kB / 272.2 MB, free: 2.25 MB / 250.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.0006153/0.007576, allocations: 0.5594 MB / 272.7 MB, free: 1.648 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.007617, allocations: 8.031 kB / 272.7 MB, free: 1.641 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.25e-05/0.007689, allocations: 40.69 kB / 272.8 MB, free: 1.602 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.007949, allocations: 215.6 kB / 273 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.00797, allocations: 8.375 kB / 273 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.007983, allocations: 4.375 kB / 273 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.008283, allocations: 153.3 kB / 273.1 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.008292, allocations: 7.938 kB / 273.1 MB, free: 1.164 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.008306, allocations: 7.984 kB / 273.2 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.008313, allocations: 0 / 273.2 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/0.008369, allocations: 23.92 kB / 273.2 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.008804, allocations: 363 kB / 273.5 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.008975, allocations: 121.3 kB / 273.6 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.708e-05/0.009023, allocations: 43.06 kB / 273.7 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.009043, allocations: 3.984 kB / 273.7 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.009153, allocations: 69.05 kB / 273.8 MB, free: 448 kB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.009155, allocations: 3.938 kB / 273.8 MB, free: 444 kB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002736/0.009429, allocations: 125.4 kB / 273.9 MB, free: 312 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.009488, allocations: 110.8 kB / 274 MB, free: 176 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.009727, allocations: 316.6 kB / 274.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.009748, allocations: 37.7 kB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.009835, allocations: 174.8 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.00986, allocations: 19.91 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.009905, allocations: 35.36 kB / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.01005, allocations: 0.504 MB / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.41e-05/0.01009, allocations: 12.25 kB / 275.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.797e-05/0.01015, allocations: 64.69 kB / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.498e-05/0.01021, allocations: 47.31 kB / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01021, allocations: 0 / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001211/0.01033, allocations: 97.55 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.01035, allocations: 4 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.01036, allocations: 4 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.01038, allocations: 0 / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.01045, allocations: 8 kB / 275.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.01046, allocations: 4 kB / 275.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.01e-05/0.0105, allocations: 11.88 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.01051, allocations: 4 kB / 275.3 MB, free: 14.76 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 8.466e-05/0.01059, allocations: 168.5 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.01065, allocations: 69.58 kB / 275.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.0108, allocations: 99.38 kB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.0108, allocations: 4 kB / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.01081, allocations: 0 / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01081, allocations: 0 / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.01095, allocations: 192.5 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01095, allocations: 0 / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.924e-05/0.011, allocations: 15.98 kB / 275.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.011, allocations: 0 / 275.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.01101, allocations: 8.062 kB / 275.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01101, allocations: 64 / 275.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.01102, allocations: 4 kB / 275.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.01117, allocations: 175.5 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.01122, allocations: 35.78 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.01124, allocations: 4 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.192e-05/0.01127, allocations: 4 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.01132, allocations: 11.92 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.01134, allocations: 11.98 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.01147, allocations: 213.1 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01147, allocations: 4 kB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001798/0.01165, allocations: 35.92 kB / 276.4 MB, free: 13.64 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.0008697/0.01251, allocations: 392.3 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.01266, allocations: 55.58 kB / 276.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01266, allocations: 4 kB / 276.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.01271, allocations: 31.66 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.01298, allocations: 69.14 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.01341, allocations: 332.2 kB / 277.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.927e-05/0.01345, allocations: 83.97 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.071e-05/0.01351, allocations: 21.73 kB / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.01355, allocations: 20.5 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01355, allocations: 0 / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of Templates: time 0.005535/0.01909, allocations: 3.136 MB / 280.5 MB, free: 9.633 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.0521666426211596]