Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 74.25 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002233/0.002233, allocations: 159.3 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 177.2 MB / 204.9 MB, free: 9.023 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 55.36 kB / 325.6 MB, free: 448 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09089/0.09247, allocations: 53.33 MB / 378.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002874/0.09535, allocations: 1.596 MB / 380.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.09636, allocations: 0.5259 MB / 381 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.083e-05/0.09645, allocations: 7.938 kB / 381 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.757e-05/0.09649, allocations: 7.922 kB / 381 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.09661, allocations: 3.938 kB / 381 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.0969, allocations: 63.75 kB / 381.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.09702, allocations: 51.84 kB / 381.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.998e-05/0.09711, allocations: 12.17 kB / 381.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.09722, allocations: 31.8 kB / 381.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.954e-05/0.09728, allocations: 27.84 kB / 381.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.0973, allocations: 4 kB / 381.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.699e-05/0.09733, allocations: 4 kB / 381.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.09738, allocations: 11.98 kB / 381.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.09741, allocations: 23.75 kB / 381.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.09756, allocations: 67.61 kB / 381.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.09756, allocations: 4 kB / 381.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.09756, allocations: 0 / 381.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.09757, allocations: 0 / 381.3 MB, free: 13.34 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005112/0.09808, allocations: 302 kB / 381.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.09811, allocations: 8.031 kB / 381.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.09828, allocations: 20.88 kB / 381.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.09855, allocations: 150.1 kB / 381.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.09856, allocations: 4.312 kB / 381.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.09858, allocations: 11.94 kB / 381.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.09888, allocations: 121.8 kB / 381.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.09889, allocations: 0 / 381.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.09889, allocations: 0 / 381.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.0989, allocations: 0 / 381.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.59e-05/0.09899, allocations: 19.98 kB / 382 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.09933, allocations: 230.1 kB / 382.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.09946, allocations: 75.78 kB / 382.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.639e-05/0.09952, allocations: 30.62 kB / 382.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.09955, allocations: 4 kB / 382.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.09958, allocations: 30.56 kB / 382.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.09958, allocations: 0 / 382.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002827/0.09986, allocations: 93.83 kB / 382.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.09994, allocations: 110.8 kB / 382.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1001, allocations: 137.8 kB / 382.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1001, allocations: 29.7 kB / 382.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.1002, allocations: 88.12 kB / 382.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.1002, allocations: 7.938 kB / 382.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.1002, allocations: 21.67 kB / 382.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1004, allocations: 322.8 kB / 383.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.1004, allocations: 8 kB / 383.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.948e-05/0.1005, allocations: 35.42 kB / 383.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1006, allocations: 47.36 kB / 383.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1006, allocations: 4 kB / 383.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001518/0.1007, allocations: 69.55 kB / 383.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1007, allocations: 8 kB / 383.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1008, allocations: 0 / 383.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1008, allocations: 8.062 kB / 383.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/0.1008, allocations: 11.98 kB / 383.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1009, allocations: 4 kB / 383.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.983e-05/0.1009, allocations: 0 / 383.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.1009, allocations: 7.938 kB / 383.3 MB, free: 11.11 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.039e-05/0.101, allocations: 113.8 kB / 383.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.495e-05/0.1011, allocations: 61.53 kB / 383.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.1011, allocations: 11.97 kB / 383.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1011, allocations: 3.938 kB / 383.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1011, allocations: 8.047 kB / 383.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1011, allocations: 0 / 383.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.1013, allocations: 121.2 kB / 383.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1013, allocations: 0 / 383.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.079e-05/0.1014, allocations: 11.98 kB / 383.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1014, allocations: 0 / 383.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1014, allocations: 4 kB / 383.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1014, allocations: 0 / 383.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1014, allocations: 3.938 kB / 383.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.1016, allocations: 181.1 kB / 383.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.1017, allocations: 19.94 kB / 383.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.1017, allocations: 4 kB / 383.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.159e-05/0.1017, allocations: 0 / 383.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.1018, allocations: 4 kB / 383.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1018, allocations: 3.984 kB / 383.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.371e-05/0.1019, allocations: 118.4 kB / 384 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1019, allocations: 0 / 384 MB, free: 10.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000239/0.1021, allocations: 4 kB / 384 MB, free: 10.38 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001031/0.1022, allocations: 107.2 kB / 384.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.1024, allocations: 35.98 kB / 384.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1024, allocations: 0 / 384.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/0.1024, allocations: 7.938 kB / 384.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.1028, allocations: 30.81 kB / 384.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.1032, allocations: 187.3 kB / 384.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.484e-05/0.1032, allocations: 83.77 kB / 384.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.885e-05/0.1033, allocations: 144 / 384.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.1033, allocations: 20.42 kB / 384.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1033, allocations: 0 / 384.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of Templates: time 0.00334/0.1066, allocations: 0.7077 MB / 385.1 MB, free: 9.172 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.2422943389974535]