Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001839/0.001839, allocations: 84.95 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002049/0.002049, allocations: 158.1 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.806e-06/2.806e-06, allocations: 1.219 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.124e-05/3.404e-05, allocations: 5.516 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003716/0.00375, allocations: 1.595 MB / 326.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.005181, allocations: 0.5172 MB / 327.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.005326, allocations: 5.281 kB / 327.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.003e-05/0.005396, allocations: 10.72 kB / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.005574, allocations: 11.48 kB / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.006011, allocations: 70.28 kB / 327.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.006162, allocations: 44.23 kB / 327.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.006278, allocations: 12.22 kB / 327.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.006462, allocations: 41.28 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.386e-05/0.006536, allocations: 12.36 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.006558, allocations: 3.5 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.156e-05/0.006619, allocations: 9.953 kB / 327.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.006676, allocations: 14.23 kB / 327.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.006724, allocations: 19.19 kB / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.006935, allocations: 58.77 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.006939, allocations: 1.062 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.00694, allocations: 0 / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.006948, allocations: 0 / 327.4 MB, free: 14.91 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.0006445/0.007592, allocations: 306.8 kB / 327.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.007637, allocations: 13.48 kB / 327.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.00785, allocations: 18.44 kB / 327.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.008199, allocations: 156.9 kB / 327.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.008213, allocations: 1.531 kB / 327.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.008227, allocations: 3.688 kB / 327.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.008579, allocations: 120.6 kB / 328.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.008592, allocations: 2.375 kB / 328.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.008602, allocations: 0 / 328.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.008608, allocations: 1.438 kB / 328.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.008708, allocations: 27.92 kB / 328.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.009073, allocations: 213.8 kB / 328.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.009237, allocations: 74.88 kB / 328.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/0.009315, allocations: 35.36 kB / 328.4 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.009346, allocations: 4.609 kB / 328.4 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.009388, allocations: 35.16 kB / 328.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.009389, allocations: 0 / 328.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003373/0.009726, allocations: 89.48 kB / 328.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.469e-05/0.009821, allocations: 110.4 kB / 328.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.01001, allocations: 146.5 kB / 328.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.01005, allocations: 26.86 kB / 328.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.01013, allocations: 96.23 kB / 328.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.01015, allocations: 0 / 328.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.01019, allocations: 14.3 kB / 328.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.01035, allocations: 325.4 kB / 329.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.144e-05/0.0104, allocations: 11.88 kB / 329.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-05/0.01043, allocations: 5.484 kB / 329.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.591e-05/0.01052, allocations: 21.92 kB / 329.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01052, allocations: 0 / 329.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001398/0.01066, allocations: 51.92 kB / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.01068, allocations: 6.516 kB / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01069, allocations: 0 / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.01071, allocations: 0.5625 kB / 329.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.433e-05/0.01079, allocations: 12.83 kB / 329.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.0108, allocations: 0 / 329.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.048e-05/0.01084, allocations: 4.219 kB / 329.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.01085, allocations: 3.938 kB / 329.3 MB, free: 13.13 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.000113/0.01096, allocations: 121.8 kB / 329.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.01107, allocations: 49.3 kB / 329.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.01111, allocations: 8.453 kB / 329.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.01111, allocations: 3.328 kB / 329.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.01112, allocations: 0 / 329.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.01112, allocations: 5.156 kB / 329.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.0113, allocations: 126.4 kB / 329.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.01131, allocations: 3.938 kB / 329.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.709e-05/0.01137, allocations: 10.14 kB / 329.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.01138, allocations: 2.016 kB / 329.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.01139, allocations: 1.094 kB / 329.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.036e-06/0.0114, allocations: 6.25 kB / 329.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.0114, allocations: 0 / 329.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.01166, allocations: 179.8 kB / 329.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.01171, allocations: 21.39 kB / 329.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.01173, allocations: 5.719 kB / 329.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.116e-05/0.01181, allocations: 11.66 kB / 329.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.01185, allocations: 2.422 kB / 329.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.01185, allocations: 1.875 kB / 329.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.01197, allocations: 109.1 kB / 330 MB, free: 12.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01197, allocations: 0.9375 kB / 330 MB, free: 12.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.0122, allocations: 4.219 kB / 330 MB, free: 12.55 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.0001299/0.01233, allocations: 98.83 kB / 330.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.0125, allocations: 26.22 kB / 330.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.0125, allocations: 1 kB / 330.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.148e-05/0.01255, allocations: 15.58 kB / 330.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.01298, allocations: 29.62 kB / 330.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.01346, allocations: 182.3 kB / 330.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.719e-05/0.01355, allocations: 79.39 kB / 330.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.776e-05/0.01359, allocations: 7.547 kB / 330.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.01363, allocations: 11.69 kB / 330.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01363, allocations: 0 / 330.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of Templates: time 0.005223/0.01885, allocations: 0.6824 MB / 331.1 MB, free: 12.09 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.541585095226765]