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.002228/0.002228, allocations: 91.61 kB / 20.96 MB, free: 3.457 MB / 18.57 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.002605/0.002605, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 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.564/1.564, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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 1.803e-06/1.803e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.41e-05/3.591e-05, allocations: 2.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003475/0.003511, allocations: 1.612 MB / 273.9 MB, free: 188 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.004685, allocations: 0.5453 MB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.004762, allocations: 0 / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.492e-05/0.004827, allocations: 7.875 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.004972, allocations: 15.86 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.005279, allocations: 59.75 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.005409, allocations: 51.78 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.005504, allocations: 12.12 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.005658, allocations: 35.89 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.539e-05/0.005713, allocations: 11.98 kB / 274.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.005737, allocations: 4 kB / 274.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.609e-05/0.005783, allocations: 8 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.005838, allocations: 19.91 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.005874, allocations: 15.94 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.006043, allocations: 55.8 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006046, allocations: 3.938 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.006048, allocations: 0 / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.006052, allocations: 0 / 274.8 MB, free: 15.34 MB / 266.7 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.0006336/0.006686, allocations: 411.8 kB / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.006731, allocations: 16.02 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.006895, allocations: 12.89 kB / 275.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.007301, allocations: 161 kB / 275.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.007315, allocations: 4.375 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.007326, allocations: 4.375 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.007628, allocations: 128.3 kB / 275.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.007637, allocations: 0 / 275.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.00765, allocations: 4 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.007655, allocations: 7.938 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.065e-05/0.007726, allocations: 15.98 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.008109, allocations: 287.1 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.008283, allocations: 97.17 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.974e-05/0.008363, allocations: 35.12 kB / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.008389, allocations: 4 kB / 275.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.008428, allocations: 37.39 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.008429, allocations: 0 / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002996/0.008729, allocations: 89.45 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.914e-05/0.008828, allocations: 110.8 kB / 276.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.009035, allocations: 209.3 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.009059, allocations: 29.64 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.009189, allocations: 138.9 kB / 276.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.009206, allocations: 0 / 276.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.009252, allocations: 19.38 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002912/0.009543, allocations: 0.4965 MB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.402e-05/0.009577, allocations: 8 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.588e-05/0.009603, allocations: 4 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.316e-05/0.009666, allocations: 19.67 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.009668, allocations: 0 / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001134/0.009781, allocations: 53.58 kB / 277.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.009801, allocations: 10.66 kB / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.009805, allocations: 0 / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.00982, allocations: 0 / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.009882, allocations: 4.094 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.009892, allocations: 4 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.767e-05/0.00992, allocations: 0 / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.009933, allocations: 7.984 kB / 277.2 MB, free: 12.67 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001285/0.01006, allocations: 164.5 kB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.01016, allocations: 53.59 kB / 277.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.0102, allocations: 11.95 kB / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.01021, allocations: 7.984 kB / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.01021, allocations: 0 / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01022, allocations: 64 / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.0104, allocations: 136.6 kB / 277.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01041, allocations: 4 kB / 277.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/0.01046, allocations: 7.984 kB / 277.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.01047, allocations: 4 kB / 277.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.01048, allocations: 0 / 277.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01048, allocations: 0 / 277.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.01048, allocations: 4 kB / 277.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.01075, allocations: 239.1 kB / 277.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.0108, allocations: 23.83 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.01082, allocations: 0 / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.01088, allocations: 8 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.01092, allocations: 4 kB / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.01093, allocations: 0 / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.01106, allocations: 159.1 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01106, allocations: 0 / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.01128, allocations: 4 kB / 278 MB, free: 11.78 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: 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.0001399/0.01142, allocations: 95.25 kB / 278.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.01157, allocations: 31.61 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01157, allocations: 4.062 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.211e-05/0.01161, allocations: 15.69 kB / 278.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.012, allocations: 32.73 kB / 278.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.01243, allocations: 191.1 kB / 278.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.766e-05/0.01252, allocations: 71.33 kB / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.523e-05/0.01256, allocations: 8.234 kB / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.01259, allocations: 16.5 kB / 278.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01259, allocations: 0 / 278.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of Templates: time 0.004193/0.01679, allocations: 0.6972 MB / 279.1 MB, free: 10.57 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/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.5202684020623565]