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.001471/0.001471, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001821/0.001821, allocations: 217.5 kB / 24.5 MB, free: 4.133 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.52/1.52, allocations: 230.5 MB / 258.1 MB, free: 8.023 MB / 206.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 0.002107/0.002107, allocations: 63.89 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3141, allocations: 53.4 MB / 432.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003429/0.3175, allocations: 1.613 MB / 434.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.3187, allocations: 0.557 MB / 434.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.3189, allocations: 11.94 kB / 434.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.991e-05/0.3189, allocations: 7.922 kB / 434.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.3191, allocations: 23.8 kB / 434.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.3195, allocations: 63.81 kB / 434.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.3196, allocations: 39.86 kB / 434.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3197, allocations: 16.17 kB / 434.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.3199, allocations: 35.84 kB / 434.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.03e-05/0.3199, allocations: 19.86 kB / 434.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.32, allocations: 7.938 kB / 434.8 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.489e-05/0.32, allocations: 4 kB / 434.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.086e-05/0.3201, allocations: 15.94 kB / 434.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.993e-05/0.3201, allocations: 35.73 kB / 434.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.3203, allocations: 57 kB / 434.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3203, allocations: 0 / 434.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3203, allocations: 0 / 434.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3203, allocations: 0 / 434.9 MB, free: 4.289 MB / 334.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.0006081/0.3209, allocations: 313.9 kB / 435.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.321, allocations: 8.031 kB / 435.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.3212, allocations: 20.88 kB / 435.3 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.3216, allocations: 154.5 kB / 435.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3216, allocations: 384 / 435.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.3216, allocations: 11.88 kB / 435.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.322, allocations: 113.9 kB / 435.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.322, allocations: 0 / 435.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.322, allocations: 0 / 435.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.322, allocations: 4 kB / 435.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.762e-05/0.3221, allocations: 19.98 kB / 435.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.3225, allocations: 249.6 kB / 435.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.3227, allocations: 67.78 kB / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.888e-05/0.3228, allocations: 30.62 kB / 435.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.3228, allocations: 11.98 kB / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.3228, allocations: 30.56 kB / 436 MB, free: 3.109 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3229, allocations: 0 / 436 MB, free: 3.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003475/0.3232, allocations: 89.45 kB / 436 MB, free: 3.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.3233, allocations: 115.1 kB / 436.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.3235, allocations: 149.7 kB / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.3235, allocations: 25.7 kB / 436.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.087e-05/0.3236, allocations: 96.12 kB / 436.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.3236, allocations: 0 / 436.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.3237, allocations: 21.67 kB / 436.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.3239, allocations: 318.8 kB / 436.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.996e-05/0.3239, allocations: 8 kB / 436.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/0.324, allocations: 35.42 kB / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.3241, allocations: 51.36 kB / 436.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3241, allocations: 0 / 436.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001716/0.3243, allocations: 73.55 kB / 436.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.3243, allocations: 4 kB / 436.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3243, allocations: 0 / 436.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.3243, allocations: 7.938 kB / 436.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.3245, allocations: 4 kB / 436.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.3245, allocations: 4 kB / 436.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.3245, allocations: 7.922 kB / 436.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.3245, allocations: 8.125 kB / 437 MB, free: 2.016 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.000149/0.3247, allocations: 117.8 kB / 437.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.3249, allocations: 61.53 kB / 437.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.045e-05/0.3249, allocations: 7.969 kB / 437.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.325, allocations: 0 / 437.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.325, allocations: 0 / 437.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.325, allocations: 3.938 kB / 437.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.3252, allocations: 148.7 kB / 437.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3252, allocations: 4 kB / 437.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.3253, allocations: 12.06 kB / 437.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.3253, allocations: 4 kB / 437.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.3253, allocations: 3.984 kB / 437.3 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.3253, allocations: 3.938 kB / 437.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.3253, allocations: 4 kB / 437.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.3256, allocations: 181.1 kB / 437.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.3256, allocations: 11.89 kB / 437.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.3257, allocations: 7.984 kB / 437.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.749e-05/0.3257, allocations: 0 / 437.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.3258, allocations: 16.02 kB / 437.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3258, allocations: 3.984 kB / 437.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.3259, allocations: 114.2 kB / 437.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3259, allocations: 0 / 437.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.3262, allocations: 4 kB / 437.6 MB, free: 1.238 MB / 334.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.0001909/0.3263, allocations: 103.2 kB / 437.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.3266, allocations: 35.91 kB / 437.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3266, allocations: 0 / 437.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.234e-05/0.3266, allocations: 8 kB / 437.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.327, allocations: 26.27 kB / 437.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/0.3276, allocations: 218.7 kB / 438 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.328, allocations: 0.6963 MB / 438.7 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.3281, allocations: 15.44 kB / 438.7 MB, free: 80 kB / 334.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3281, allocations: 3.938 kB / 438.7 MB, free: 76 kB / 334.1 MB Notification: Performance of Templates: time 0.00319/0.3313, allocations: 0.8487 MB / 439.6 MB, free: 15.23 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/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: 7.457614121027291]