Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 187 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 51.92 kB / 370.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.325, allocations: 52.17 MB / 423.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003424/0.3284, allocations: 1.612 MB / 424.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3295, allocations: 0.4948 MB / 425.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.3296, allocations: 0 / 425.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.377e-05/0.3297, allocations: 3.938 kB / 425.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.3299, allocations: 19.8 kB / 425.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.3302, allocations: 47.83 kB / 425.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.3304, allocations: 47.8 kB / 425.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.3305, allocations: 12.17 kB / 425.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.3306, allocations: 27.91 kB / 425.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.722e-05/0.3307, allocations: 23.86 kB / 425.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.3307, allocations: 0 / 425.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.3307, allocations: 4 kB / 425.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.3308, allocations: 11.94 kB / 425.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.3309, allocations: 35.73 kB / 425.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.331, allocations: 51.41 kB / 425.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.331, allocations: 0 / 425.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.669e-06/0.331, allocations: 4 kB / 425.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.331, allocations: 0 / 425.5 MB, free: 12.26 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.0006919/0.3317, allocations: 311.5 kB / 425.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.3318, allocations: 12.03 kB / 425.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/0.3319, allocations: 8.891 kB / 425.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.3322, allocations: 146.3 kB / 426 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.3322, allocations: 384 / 426 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.3322, allocations: 4.375 kB / 426 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.3326, allocations: 126 kB / 426.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3326, allocations: 0 / 426.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3326, allocations: 0 / 426.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.3326, allocations: 0 / 426.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.958e-05/0.3327, allocations: 19.98 kB / 426.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.3331, allocations: 253.6 kB / 426.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.3333, allocations: 67.78 kB / 426.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.117e-05/0.3334, allocations: 30.64 kB / 426.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.3334, allocations: 4 kB / 426.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.3334, allocations: 42.55 kB / 426.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.3334, allocations: 0 / 426.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003121/0.3337, allocations: 85.84 kB / 426.6 MB, free: 11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/0.3338, allocations: 106.8 kB / 426.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.334, allocations: 144.4 kB / 426.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.334, allocations: 29.7 kB / 426.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.3341, allocations: 84.14 kB / 427 MB, free: 10.6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.3341, allocations: 7.953 kB / 427 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.3341, allocations: 13.72 kB / 427 MB, free: 10.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3343, allocations: 330.8 kB / 427.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.654e-05/0.3343, allocations: 7.984 kB / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.178e-05/0.3344, allocations: 31.44 kB / 427.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.3345, allocations: 51.36 kB / 427.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3345, allocations: 3.938 kB / 427.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001627/0.3347, allocations: 77.5 kB / 427.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3347, allocations: 4 kB / 427.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3347, allocations: 0 / 427.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.3347, allocations: 4 kB / 427.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.3348, allocations: 16.11 kB / 427.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.3348, allocations: 0 / 427.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.3349, allocations: 7.938 kB / 427.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.3349, allocations: 0 / 427.5 MB, free: 10.01 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.0001294/0.335, allocations: 125.7 kB / 427.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.233e-05/0.3351, allocations: 53.59 kB / 427.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.3351, allocations: 20.03 kB / 427.7 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3351, allocations: 0 / 427.7 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3351, allocations: 4.062 kB / 427.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3352, allocations: 0 / 427.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.3353, allocations: 144.7 kB / 427.8 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3353, allocations: 0 / 427.8 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.092e-05/0.3354, allocations: 11.98 kB / 427.8 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3354, allocations: 4 kB / 427.9 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3354, allocations: 3.938 kB / 427.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3354, allocations: 0 / 427.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3354, allocations: 3.938 kB / 427.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.3357, allocations: 185.1 kB / 428 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.3357, allocations: 15.94 kB / 428.1 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.3357, allocations: 0 / 428.1 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.3358, allocations: 4 kB / 428.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.3358, allocations: 0 / 428.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3358, allocations: 4 kB / 428.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.505e-05/0.3359, allocations: 111.2 kB / 428.2 MB, free: 9.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3359, allocations: 0 / 428.2 MB, free: 9.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.3362, allocations: 8 kB / 428.2 MB, free: 9.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.0001174/0.3363, allocations: 99.19 kB / 428.3 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.3365, allocations: 31.97 kB / 428.3 MB, free: 9.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3365, allocations: 0 / 428.3 MB, free: 9.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.466e-05/0.3365, allocations: 16.19 kB / 428.3 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.3369, allocations: 39.33 kB / 428.4 MB, free: 9.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.3373, allocations: 188.7 kB / 428.5 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.3377, allocations: 0.6922 MB / 429.2 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.777e-05/0.3377, allocations: 8.25 kB / 429.2 MB, free: 8.105 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.3378, allocations: 11.44 kB / 429.3 MB, free: 8.094 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3378, allocations: 0 / 429.3 MB, free: 8.094 MB / 334.1 MB Notification: Performance of Templates: time 0.003621/0.3414, allocations: 0.6672 MB / 429.9 MB, free: 7.434 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.927298482507467]