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.001514/0.001514, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.0015/0.0015, allocations: 161.7 kB / 24.27 MB, free: 172 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.471/1.471, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.382e-06/1.382e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.722e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002926/0.002953, allocations: 1.603 MB / 273.9 MB, free: 212 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.004049, allocations: 0.5297 MB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.791e-05/0.004117, allocations: 0 / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.792e-05/0.004175, allocations: 11.86 kB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.004336, allocations: 11.88 kB / 274.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.004632, allocations: 59.73 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.004745, allocations: 51.8 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.069e-05/0.004836, allocations: 16.09 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.004974, allocations: 31.91 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.005026, allocations: 12 kB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.005046, allocations: 8 kB / 274.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.187e-05/0.005088, allocations: 11.97 kB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.005129, allocations: 11.94 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.00516, allocations: 11.94 kB / 274.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.00531, allocations: 67.72 kB / 274.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.005312, allocations: 0 / 274.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005312, allocations: 0 / 274.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.035e-06/0.005315, allocations: 0 / 274.8 MB, free: 15.37 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.0005104/0.005826, allocations: 305.9 kB / 275.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.005864, allocations: 8.031 kB / 275.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.006026, allocations: 24.88 kB / 275.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.006288, allocations: 150.2 kB / 275.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.006304, allocations: 4.375 kB / 275.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.006315, allocations: 4.375 kB / 275.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.006682, allocations: 114.2 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.006691, allocations: 0 / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.006703, allocations: 11.94 kB / 275.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.006707, allocations: 0 / 275.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.006792, allocations: 19.98 kB / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.007126, allocations: 214.3 kB / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.007268, allocations: 75.72 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.266e-05/0.00734, allocations: 30.62 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.007376, allocations: 8 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.007416, allocations: 34.56 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.007418, allocations: 4 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003434/0.007761, allocations: 89.45 kB / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/0.007851, allocations: 106.8 kB / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.008022, allocations: 145 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.008049, allocations: 29.64 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.008139, allocations: 96.12 kB / 276.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.008153, allocations: 384 / 276.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.00819, allocations: 17.72 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.008375, allocations: 318.8 kB / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.008419, allocations: 7.984 kB / 276.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/0.008447, allocations: 4 kB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.616e-05/0.008533, allocations: 24.84 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.008535, allocations: 0 / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001224/0.008657, allocations: 49.58 kB / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.008674, allocations: 8.094 kB / 276.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.008679, allocations: 4 kB / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.008694, allocations: 3.984 kB / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.008756, allocations: 4 kB / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.008763, allocations: 4 kB / 276.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.008795, allocations: 0 / 276.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.008803, allocations: 4 kB / 276.7 MB, free: 13.26 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.0001096/0.008913, allocations: 121.8 kB / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.293e-05/0.009005, allocations: 53.59 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/0.009036, allocations: 16.02 kB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.009043, allocations: 4 kB / 276.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.009047, allocations: 0 / 276.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.00905, allocations: 0 / 276.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.009222, allocations: 121.2 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.009223, allocations: 0 / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.009284, allocations: 11.98 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.009285, allocations: 0 / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.009293, allocations: 0 / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.0093, allocations: 4 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.009301, allocations: 0 / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.009676, allocations: 189.1 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.009719, allocations: 19.83 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.009739, allocations: 4.047 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.009813, allocations: 7.984 kB / 277.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.009856, allocations: 7.984 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.009861, allocations: 0 / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.863e-05/0.00996, allocations: 115.2 kB / 277.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00996, allocations: 0 / 277.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.0102, allocations: 4 kB / 277.3 MB, free: 12.53 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.000129/0.01033, allocations: 99.25 kB / 277.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.01048, allocations: 23.92 kB / 277.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01048, allocations: 4 kB / 277.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.229e-05/0.01052, allocations: 11.98 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.01088, allocations: 35.83 kB / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/0.01129, allocations: 177.1 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.01139, allocations: 79.64 kB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.191e-05/0.01142, allocations: 4 kB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.01145, allocations: 8.5 kB / 277.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01145, allocations: 0 / 277.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of Templates: time 0.003218/0.01467, allocations: 0.7021 MB / 278.5 MB, free: 11.35 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=480 -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/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.272593464003876]