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.001048/0.001048, allocations: 75.91 kB / 21.18 MB, free: 3.395 MB / 18.57 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.001064/0.001064, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 18.57 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.001/1.001, allocations: 173.4 MB / 201.1 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] 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 2.044e-06/2.044e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.654e-05, allocations: 6.25 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003179/0.003206, allocations: 1.627 MB / 269.6 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009014/0.004107, allocations: 498.5 kB / 270.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.004211, allocations: 7.938 kB / 270.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.903e-05/0.00427, allocations: 3.938 kB / 270.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.004439, allocations: 7.875 kB / 270.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.004736, allocations: 47.83 kB / 270.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.004861, allocations: 55.7 kB / 270.2 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.004982, allocations: 8.188 kB / 270.2 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.00509, allocations: 27.91 kB / 270.3 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.005156, allocations: 19.97 kB / 270.3 MB, free: 4.125 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.005183, allocations: 8 kB / 270.3 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.005196, allocations: 0 / 270.3 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.005252, allocations: 15.92 kB / 270.3 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.005284, allocations: 15.94 kB / 270.3 MB, free: 4.086 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.005416, allocations: 35.83 kB / 270.4 MB, free: 4.051 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.005419, allocations: 0 / 270.4 MB, free: 4.051 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.00542, allocations: 0 / 270.4 MB, free: 4.051 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.005425, allocations: 0 / 270.4 MB, free: 4.051 MB / 250.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.0004879/0.005913, allocations: 408.2 kB / 270.8 MB, free: 3.617 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.005956, allocations: 11.97 kB / 270.8 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.006004, allocations: 12.84 kB / 270.8 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.006224, allocations: 152.5 kB / 270.9 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.006235, allocations: 384 / 270.9 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.006251, allocations: 8.375 kB / 270.9 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.006553, allocations: 125.3 kB / 271.1 MB, free: 3.258 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.006564, allocations: 4.188 kB / 271.1 MB, free: 3.254 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.006576, allocations: 4.125 kB / 271.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.006585, allocations: 4 kB / 271.1 MB, free: 3.246 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.134e-05/0.006616, allocations: 7.938 kB / 271.1 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.00694, allocations: 283.1 kB / 271.4 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.545e-05/0.007025, allocations: 89.19 kB / 271.5 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.00707, allocations: 31.19 kB / 271.5 MB, free: 2.75 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.007099, allocations: 7.938 kB / 271.5 MB, free: 2.742 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.00713, allocations: 45.31 kB / 271.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.007131, allocations: 0 / 271.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001901/0.007321, allocations: 65.58 kB / 271.6 MB, free: 2.617 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.007383, allocations: 110.8 kB / 271.7 MB, free: 2.484 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.007494, allocations: 193.9 kB / 271.9 MB, free: 2.277 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.007505, allocations: 25.7 kB / 271.9 MB, free: 2.246 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.007564, allocations: 142.9 kB / 272.1 MB, free: 2.102 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.007582, allocations: 3.953 kB / 272.1 MB, free: 2.098 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.007608, allocations: 15.38 kB / 272.1 MB, free: 2.074 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.007728, allocations: 0.4884 MB / 272.6 MB, free: 1.574 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.007741, allocations: 4.359 kB / 272.6 MB, free: 1.57 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-06/0.007748, allocations: 7.938 kB / 272.6 MB, free: 1.562 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.006e-05/0.007778, allocations: 11.69 kB / 272.6 MB, free: 1.547 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.00778, allocations: 0 / 272.6 MB, free: 1.547 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.977e-05/0.00783, allocations: 45.53 kB / 272.6 MB, free: 1.496 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.007842, allocations: 4 kB / 272.6 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.007846, allocations: 0 / 272.6 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.007861, allocations: 0 / 272.6 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.879e-05/0.00793, allocations: 7.984 kB / 272.6 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.007935, allocations: 0 / 272.6 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.534e-05/0.007951, allocations: 96 / 272.6 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.007957, allocations: 4 kB / 272.7 MB, free: 1.48 MB / 250.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 6.495e-05/0.008022, allocations: 160.6 kB / 272.8 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.008071, allocations: 61.52 kB / 272.9 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.008103, allocations: 7.969 kB / 272.9 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.008105, allocations: 0 / 272.9 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.008109, allocations: 4 kB / 272.9 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.008112, allocations: 0 / 272.9 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.008213, allocations: 128.6 kB / 273 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008215, allocations: 4 kB / 273 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.008245, allocations: 8.062 kB / 273 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.008247, allocations: 4 kB / 273 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.008255, allocations: 3.938 kB / 273 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.008256, allocations: 0 / 273 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.008259, allocations: 7.984 kB / 273 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.008367, allocations: 223.2 kB / 273.3 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.008396, allocations: 15.94 kB / 273.3 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.008409, allocations: 7.938 kB / 273.3 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.313e-05/0.008442, allocations: 4 kB / 273.3 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.008471, allocations: 0 / 273.3 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.008476, allocations: 8 kB / 273.3 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.036e-05/0.008527, allocations: 145.7 kB / 273.4 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008527, allocations: 0 / 273.4 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001419/0.008669, allocations: 4 kB / 273.4 MB, free: 0.6172 MB / 250.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.522e-05/0.008744, allocations: 99.25 kB / 273.5 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.049e-05/0.008824, allocations: 19.62 kB / 273.5 MB, free: 500 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.008826, allocations: 0 / 273.5 MB, free: 500 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.309e-05/0.008839, allocations: 15.61 kB / 273.6 MB, free: 480 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.009088, allocations: 28.98 kB / 273.6 MB, free: 448 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.009578, allocations: 200.2 kB / 273.8 MB, free: 212 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.541e-05/0.009623, allocations: 59.34 kB / 273.8 MB, free: 132 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.279e-05/0.009646, allocations: 4 kB / 273.9 MB, free: 128 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.009686, allocations: 8.5 kB / 273.9 MB, free: 120 kB / 250.7 MB Notification: Performance of SimCode: time 7.21e-07/0.009687, allocations: 0 / 273.9 MB, free: 120 kB / 250.7 MB Notification: Performance of Templates: time 0.002375/0.01206, allocations: 0.6919 MB / 274.6 MB, free: 15.44 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 240] 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","",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.802418972365558]