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.001313/0.001313, allocations: 85.98 kB / 20.68 MB, free: 1.035 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.001511/0.001511, allocations: 165.5 kB / 23.96 MB, free: 4.164 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.537/1.537, allocations: 177.2 MB / 204.3 MB, free: 9.191 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 1.583e-06/1.583e-06, allocations: 0 / 325.1 MB, free: 412 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.813e-05, allocations: 9.172 kB / 325.1 MB, free: 404 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002824/0.002852, allocations: 1.604 MB / 326.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.004015, allocations: 0.5239 MB / 327.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.313e-05/0.004108, allocations: 10.09 kB / 327.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.148e-05/0.004159, allocations: 4.922 kB / 327.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.0043, allocations: 16.77 kB / 327.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.004637, allocations: 62.14 kB / 327.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.004777, allocations: 53.91 kB / 327.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.00488, allocations: 6.906 kB / 327.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.005038, allocations: 42.97 kB / 327.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.386e-05/0.005102, allocations: 15.8 kB / 327.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.005121, allocations: 2.625 kB / 327.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.212e-05/0.005163, allocations: 5.438 kB / 327.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.005221, allocations: 15.31 kB / 327.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.005254, allocations: 15.14 kB / 327.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.005423, allocations: 61.38 kB / 327.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.005427, allocations: 5.781 kB / 327.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005428, allocations: 0 / 327.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.005432, allocations: 0 / 327.5 MB, free: 14.8 MB / 302.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.0005306/0.005962, allocations: 303 kB / 327.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.006001, allocations: 9.656 kB / 327.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.006173, allocations: 17.3 kB / 327.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.006416, allocations: 152.2 kB / 328 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.006429, allocations: 6.531 kB / 328 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.006445, allocations: 6.125 kB / 328 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.006757, allocations: 114.2 kB / 328.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.006767, allocations: 0 / 328.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.006776, allocations: 1.125 kB / 328.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.006786, allocations: 5.203 kB / 328.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.006877, allocations: 24.83 kB / 328.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.007223, allocations: 221.7 kB / 328.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.007393, allocations: 74.23 kB / 328.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.586e-05/0.007479, allocations: 30.94 kB / 328.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.007511, allocations: 2.797 kB / 328.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.007559, allocations: 37.61 kB / 328.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.007561, allocations: 0 / 328.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003291/0.00789, allocations: 93.42 kB / 328.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.226e-05/0.007982, allocations: 106.6 kB / 328.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.008141, allocations: 148 kB / 328.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.008162, allocations: 25.7 kB / 328.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.607e-05/0.008228, allocations: 88.41 kB / 328.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.008245, allocations: 1.781 kB / 329 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.008288, allocations: 17.09 kB / 329 MB, free: 13.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.008456, allocations: 318.2 kB / 329.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/0.008495, allocations: 6.797 kB / 329.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.48e-05/0.00853, allocations: 18.06 kB / 329.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.836e-05/0.008618, allocations: 21.52 kB / 329.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.008622, allocations: 4 kB / 329.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001224/0.008745, allocations: 52.61 kB / 329.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.008763, allocations: 5.922 kB / 329.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.008768, allocations: 0 / 329.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.008784, allocations: 1.5 kB / 329.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.727e-05/0.008851, allocations: 8.531 kB / 329.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.008856, allocations: 0 / 329.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.008889, allocations: 3.125 kB / 329.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.008896, allocations: 0 / 329.4 MB, free: 13.03 MB / 302.1 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.0001217/0.009018, allocations: 121.5 kB / 329.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.395e-05/0.009112, allocations: 53.52 kB / 329.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.009152, allocations: 13.06 kB / 329.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.009155, allocations: 1.281 kB / 329.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.009163, allocations: 1.797 kB / 329.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.009166, allocations: 5.312 kB / 329.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.009361, allocations: 125.3 kB / 329.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.009364, allocations: 1.875 kB / 329.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.009425, allocations: 11.58 kB / 329.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.009427, allocations: 0 / 329.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.009435, allocations: 0 / 329.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.009438, allocations: 7.188 kB / 329.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.009442, allocations: 3.938 kB / 329.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.009662, allocations: 176.8 kB / 329.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.009705, allocations: 20.31 kB / 329.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.009724, allocations: 5.891 kB / 329.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.009792, allocations: 3.266 kB / 329.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.009827, allocations: 3.062 kB / 329.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.009831, allocations: 1.219 kB / 329.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.009936, allocations: 112.5 kB / 330.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.009936, allocations: 1.031 kB / 330.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.01016, allocations: 8.438 kB / 330.1 MB, free: 12.45 MB / 302.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.000141/0.0103, allocations: 104.1 kB / 330.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.01045, allocations: 26.41 kB / 330.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01045, allocations: 1.219 kB / 330.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.948e-05/0.01049, allocations: 5.953 kB / 330.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.01089, allocations: 38.88 kB / 330.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.01131, allocations: 174.1 kB / 330.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.573e-05/0.01141, allocations: 80.09 kB / 330.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.204e-05/0.01144, allocations: 6.109 kB / 330.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.01147, allocations: 12.02 kB / 330.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01147, allocations: 0 / 330.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Templates: time 0.00374/0.01521, allocations: 0.6959 MB / 331.2 MB, free: 11.98 MB / 302.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 -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.514206562191248]