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.001005/0.001005, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009916/0.0009916, allocations: 165 kB / 24.56 MB, free: 16 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.089/1.089, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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.763e-06/1.763e-06, allocations: 0 / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.091e-05, allocations: 4.984 kB / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002318/0.002349, allocations: 1.642 MB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008404/0.003189, allocations: 0.5491 MB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.471e-05/0.003274, allocations: 3.938 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.308e-05/0.003327, allocations: 7.922 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.003468, allocations: 11.94 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.003802, allocations: 63.62 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.003903, allocations: 51.78 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.311e-05/0.003996, allocations: 12.17 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.004129, allocations: 35.89 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.004179, allocations: 12 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.004196, allocations: 4 kB / 275.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.661e-05/0.004243, allocations: 11.98 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.004292, allocations: 11.94 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.00432, allocations: 23.91 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.004457, allocations: 43.77 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.00446, allocations: 0 / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004461, allocations: 0 / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.004466, allocations: 4 kB / 275.5 MB, free: 14.88 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.0004216/0.004888, allocations: 404.2 kB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.004928, allocations: 12.03 kB / 275.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.005062, allocations: 24.86 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.005244, allocations: 157 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.005254, allocations: 384 / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.005265, allocations: 8.312 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.005514, allocations: 133 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.005522, allocations: 0 / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.005531, allocations: 0 / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.005539, allocations: 4 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.37e-05/0.005563, allocations: 11.98 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.005844, allocations: 283.1 kB / 276.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.005927, allocations: 89.11 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.005964, allocations: 35.19 kB / 276.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.005983, allocations: 0 / 276.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.006006, allocations: 37.39 kB / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.006008, allocations: 0 / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001657/0.006174, allocations: 69.52 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.006224, allocations: 106.8 kB / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.006334, allocations: 201.3 kB / 277 MB, free: 13.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.006345, allocations: 25.7 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.006397, allocations: 138.8 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.006417, allocations: 7.984 kB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.006447, allocations: 23.33 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.006585, allocations: 496.1 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.0066, allocations: 4.375 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-06/0.006609, allocations: 8 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.551e-05/0.006645, allocations: 23.61 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.006647, allocations: 0 / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.51e-05/0.006712, allocations: 29.7 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.006731, allocations: 10.66 kB / 277.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.006737, allocations: 0 / 277.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.006754, allocations: 0 / 277.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.954e-05/0.006823, allocations: 0 / 277.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.006828, allocations: 4 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.006845, allocations: 4.078 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.006851, allocations: 4 kB / 277.8 MB, free: 12.3 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 7.191e-05/0.006922, allocations: 160.5 kB / 277.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.006976, allocations: 49.59 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.007005, allocations: 15.95 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.007007, allocations: 0 / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.007011, allocations: 0 / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.007016, allocations: 4 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.007134, allocations: 136.5 kB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.007135, allocations: 0 / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.58e-05/0.007171, allocations: 16 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.007174, allocations: 0 / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.007184, allocations: 4 kB / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.007186, allocations: 0 / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.007187, allocations: 0 / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.007319, allocations: 227.2 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.007353, allocations: 15.89 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.007365, allocations: 0 / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.497e-05/0.0074, allocations: 11.98 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.007432, allocations: 0 / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.007435, allocations: 4 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.832e-05/0.007493, allocations: 147.1 kB / 278.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007493, allocations: 3.938 kB / 278.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001429/0.007636, allocations: 7.984 kB / 278.6 MB, free: 11.43 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 7.644e-05/0.007712, allocations: 99.25 kB / 278.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.272e-05/0.007795, allocations: 19.72 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.007797, allocations: 0 / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.516e-05/0.007812, allocations: 11.62 kB / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.008081, allocations: 32.92 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.008549, allocations: 188.4 kB / 278.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.372e-05/0.008593, allocations: 67.28 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.576e-05/0.008619, allocations: 4 kB / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.008655, allocations: 12.5 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.008656, allocations: 0 / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of Templates: time 0.00281/0.01147, allocations: 0.7313 MB / 279.7 MB, free: 10.21 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","",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.8551808800548315]