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.001134/0.001134, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001453/0.002587, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.000683/0.000683, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001997/0.00268, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.934/0.934, allocations: 173.4 MB / 185.8 MB, free: 8.977 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09323/1.027, allocations: 52.5 MB / 238.3 MB, free: 4.418 MB / 234.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.793e-06/1.793e-06, allocations: 0 / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.96e-05, allocations: 2.312 kB / 239.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.002485/0.002504, allocations: 1.954 MB / 241.5 MB, free: 1.207 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.003917, allocations: 1.149 MB / 242.7 MB, free: 52 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.004037, allocations: 3.938 kB / 242.7 MB, free: 48 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.004282, allocations: 59.8 kB / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.004485, allocations: 95.41 kB / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.005043, allocations: 259 kB / 243.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.005255, allocations: 171.4 kB / 243.2 MB, free: 15.47 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.338e-05/0.005348, allocations: 30.44 kB / 243.3 MB, free: 15.44 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.005519, allocations: 119.7 kB / 243.4 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.734e-05/0.005616, allocations: 59.8 kB / 243.4 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.005636, allocations: 8 kB / 243.4 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.005805, allocations: 79.81 kB / 243.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.005868, allocations: 47.86 kB / 243.6 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.005909, allocations: 27.88 kB / 243.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.006151, allocations: 171.3 kB / 243.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.507e-05/0.006166, allocations: 0 / 243.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006167, allocations: 0 / 243.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.006184, allocations: 0 / 243.8 MB, free: 14.94 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.0005378/0.006721, allocations: 480.8 kB / 244.2 MB, free: 14.44 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.00675, allocations: 8.031 kB / 244.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.006792, allocations: 16.92 kB / 244.3 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.007028, allocations: 208.7 kB / 244.5 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.007047, allocations: 12.36 kB / 244.5 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.007059, allocations: 4.375 kB / 244.5 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.007263, allocations: 133.9 kB / 244.6 MB, free: 14.01 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.007271, allocations: 3.938 kB / 244.6 MB, free: 14.01 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.007279, allocations: 4 kB / 244.6 MB, free: 14 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.007284, allocations: 0 / 244.6 MB, free: 14 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.193e-05/0.007326, allocations: 26.75 kB / 244.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.007586, allocations: 203.6 kB / 244.8 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.007705, allocations: 133.3 kB / 245 MB, free: 13.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.024e-05/0.007735, allocations: 30.58 kB / 245 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.007757, allocations: 11.92 kB / 245 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.833e-05/0.007856, allocations: 74.09 kB / 245.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.007857, allocations: 0 / 245.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001549/0.008012, allocations: 85.78 kB / 245.2 MB, free: 13.37 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.008058, allocations: 110.8 kB / 245.3 MB, free: 13.23 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.008217, allocations: 250.7 kB / 245.5 MB, free: 12.97 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.008234, allocations: 33.7 kB / 245.5 MB, free: 12.93 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.008274, allocations: 100.6 kB / 245.6 MB, free: 12.83 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.008296, allocations: 19.83 kB / 245.7 MB, free: 12.81 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.008331, allocations: 29.66 kB / 245.7 MB, free: 12.78 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.753e-05/0.008409, allocations: 330.8 kB / 246 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.008427, allocations: 15.14 kB / 246 MB, free: 12.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.636e-05/0.008473, allocations: 68.23 kB / 246.1 MB, free: 12.35 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.462e-05/0.008518, allocations: 35.3 kB / 246.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.00852, allocations: 4 kB / 246.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.455e-05/0.008594, allocations: 64.44 kB / 246.2 MB, free: 12.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.008605, allocations: 4 kB / 246.2 MB, free: 12.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.008609, allocations: 0 / 246.2 MB, free: 12.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.008618, allocations: 4 kB / 246.2 MB, free: 12.22 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.008695, allocations: 23.92 kB / 246.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.008698, allocations: 4.062 kB / 246.2 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/0.008733, allocations: 4 kB / 246.2 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.008738, allocations: 0 / 246.2 MB, free: 12.19 MB / 250.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 7.038e-05/0.008809, allocations: 120.7 kB / 246.4 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.008859, allocations: 53.56 kB / 246.4 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.008962, allocations: 79.42 kB / 246.5 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.008965, allocations: 4 kB / 246.5 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.008967, allocations: 0 / 246.5 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.00897, allocations: 4.062 kB / 246.5 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.571e-05/0.009066, allocations: 109.8 kB / 246.6 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.009068, allocations: 7.938 kB / 246.6 MB, free: 11.78 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.009116, allocations: 19.92 kB / 246.6 MB, free: 11.76 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.009161, allocations: 39.7 kB / 246.7 MB, free: 11.72 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.009164, allocations: 4 kB / 246.7 MB, free: 11.72 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.009171, allocations: 4.062 kB / 246.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.009173, allocations: 0 / 246.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.009175, allocations: 4 kB / 246.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.571e-05/0.00926, allocations: 104.5 kB / 246.8 MB, free: 11.58 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.009281, allocations: 15.92 kB / 246.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.177e-05/0.009313, allocations: 0 / 246.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.009347, allocations: 11.98 kB / 246.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.009359, allocations: 7.938 kB / 246.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.381e-05/0.009433, allocations: 97.59 kB / 246.9 MB, free: 11.45 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009433, allocations: 0 / 246.9 MB, free: 11.45 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001511/0.009584, allocations: 28 kB / 246.9 MB, free: 11.42 MB / 250.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.001243/0.01083, allocations: 0.5764 MB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.01093, allocations: 40.78 kB / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.01094, allocations: 4 kB / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.115e-05/0.01097, allocations: 20.84 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.01119, allocations: 79.7 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.01173, allocations: 328.3 kB / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.352e-05/0.01178, allocations: 79.97 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.56e-05/0.01184, allocations: 25.72 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.5e-05/0.01193, allocations: 91.28 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01193, allocations: 0 / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of Templates: time 0.00494/0.01687, allocations: 3.228 MB / 251.4 MB, free: 7.234 MB / 250.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 -ignoreHideResult -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: 2.585171001031995]