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.001231/0.001231, allocations: 78.19 kB / 21.42 MB, free: 3.078 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.001339/0.001339, allocations: 154.3 kB / 24.81 MB, free: 9.285 MB / 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.053/1.053, allocations: 173.3 MB / 201.4 MB, free: 9.191 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 2.856e-06/2.856e-06, allocations: 4 kB / 268.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.737e-05, allocations: 6.25 kB / 268.4 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.002914/0.002941, allocations: 1.905 MB / 270.3 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.004565, allocations: 1.106 MB / 271.4 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.004721, allocations: 4 kB / 271.4 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006636/0.005385, allocations: 67.61 kB / 271.5 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.005657, allocations: 91.53 kB / 271.6 MB, free: 2.984 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000689/0.006346, allocations: 259 kB / 271.8 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.006647, allocations: 179.5 kB / 272 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.006767, allocations: 21.73 kB / 272 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.006924, allocations: 99.67 kB / 272.1 MB, free: 2.434 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.007044, allocations: 71.84 kB / 272.2 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.00707, allocations: 8 kB / 272.2 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.007235, allocations: 59.95 kB / 272.3 MB, free: 2.297 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.007306, allocations: 59.77 kB / 272.3 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.007349, allocations: 31.86 kB / 272.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.007598, allocations: 187.2 kB / 272.5 MB, free: 2.023 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.007601, allocations: 0 / 272.5 MB, free: 2.023 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.007602, allocations: 4 kB / 272.5 MB, free: 2.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.007606, allocations: 4 kB / 272.5 MB, free: 2.016 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.0005321/0.008139, allocations: 0.5671 MB / 273.1 MB, free: 1.406 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.008175, allocations: 8.031 kB / 273.1 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.008229, allocations: 28.75 kB / 273.1 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.008442, allocations: 211.7 kB / 273.3 MB, free: 1.137 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.008459, allocations: 12.31 kB / 273.4 MB, free: 1.125 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.00847, allocations: 4.375 kB / 273.4 MB, free: 1.121 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.008698, allocations: 157.2 kB / 273.5 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.008706, allocations: 3.938 kB / 273.5 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.475e-06/0.008714, allocations: 0 / 273.5 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.008719, allocations: 0 / 273.5 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.946e-05/0.008758, allocations: 31.84 kB / 273.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.009106, allocations: 315.7 kB / 273.9 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.009228, allocations: 113.3 kB / 274 MB, free: 420 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.009264, allocations: 46.97 kB / 274 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.009282, allocations: 7.984 kB / 274 MB, free: 352 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/0.009392, allocations: 72.98 kB / 274.1 MB, free: 264 kB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.009394, allocations: 0 / 274.1 MB, free: 264 kB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.000211/0.009605, allocations: 117.5 kB / 274.2 MB, free: 140 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.009657, allocations: 111 kB / 274.3 MB, free: 4 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.009881, allocations: 316.2 kB / 274.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.009902, allocations: 29.7 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.009988, allocations: 178.8 kB / 274.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.01001, allocations: 19.83 kB / 274.8 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.01005, allocations: 31.36 kB / 274.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.01019, allocations: 0.5118 MB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.453e-05/0.01022, allocations: 8 kB / 275.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-05/0.01026, allocations: 60.75 kB / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.001e-05/0.01031, allocations: 43.3 kB / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01032, allocations: 4.031 kB / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001032/0.01042, allocations: 81.52 kB / 275.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.01043, allocations: 10.97 kB / 275.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.01044, allocations: 0 / 275.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.01045, allocations: 0 / 275.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.01052, allocations: 15.94 kB / 275.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.01052, allocations: 0 / 275.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.143e-05/0.01056, allocations: 15.94 kB / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.01056, allocations: 0 / 275.6 MB, free: 14.61 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.303e-05/0.01065, allocations: 160.6 kB / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.01072, allocations: 73.42 kB / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.01085, allocations: 95.44 kB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01085, allocations: 4 kB / 276 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01086, allocations: 320 / 276 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01086, allocations: 3.938 kB / 276 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.01098, allocations: 157.1 kB / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01098, allocations: 0 / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.01102, allocations: 15.94 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01103, allocations: 4 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.01104, allocations: 11.98 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01104, allocations: 0 / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01104, allocations: 0 / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.01116, allocations: 147.6 kB / 276.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.0112, allocations: 27.84 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.01122, allocations: 11.94 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.421e-05/0.01126, allocations: 4 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.0113, allocations: 11.98 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.01131, allocations: 3.984 kB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.01142, allocations: 217 kB / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01142, allocations: 4 kB / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00018/0.0116, allocations: 31.92 kB / 276.6 MB, free: 13.57 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.0008287/0.01243, allocations: 402.5 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.01253, allocations: 47.59 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01253, allocations: 0 / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.579e-05/0.01257, allocations: 27.67 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.01281, allocations: 62.89 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.01319, allocations: 330 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.846e-05/0.01324, allocations: 84.16 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.087e-05/0.01329, allocations: 25.61 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.211e-05/0.01338, allocations: 110.2 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01338, allocations: 0 / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Templates: time 0.005215/0.0186, allocations: 3.195 MB / 280.8 MB, free: 9.434 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.0264447247609496]