Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001513/0.001513, allocations: 80.06 kB / 21.19 MB, free: 3.383 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.001991/0.001991, allocations: 141.1 kB / 24.54 MB, free: 32 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 0.9561/0.9561, allocations: 173.3 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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.714e-05, allocations: 6.312 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.001898/0.001915, allocations: 1.599 MB / 269.6 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006758/0.002591, allocations: 494.5 kB / 270.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.382e-05/0.002674, allocations: 4 kB / 270.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.753e-05/0.002722, allocations: 11.92 kB / 270.1 MB, free: 4.336 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.002849, allocations: 11.88 kB / 270.1 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.00307, allocations: 47.77 kB / 270.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.112e-05/0.003161, allocations: 47.8 kB / 270.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.003253, allocations: 16.16 kB / 270.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.003324, allocations: 27.91 kB / 270.2 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.524e-05/0.003369, allocations: 15.92 kB / 270.2 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.003387, allocations: 4 kB / 270.2 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.003398, allocations: 4 kB / 270.2 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.003442, allocations: 11.98 kB / 270.3 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.003469, allocations: 19.92 kB / 270.3 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.003581, allocations: 39.78 kB / 270.3 MB, free: 4.094 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003583, allocations: 0 / 270.3 MB, free: 4.094 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.003585, allocations: 3.984 kB / 270.3 MB, free: 4.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.003589, allocations: 4 kB / 270.3 MB, free: 4.086 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.0003935/0.003982, allocations: 400.2 kB / 270.7 MB, free: 3.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.004022, allocations: 8.922 kB / 270.7 MB, free: 3.652 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.004063, allocations: 16.84 kB / 270.7 MB, free: 3.637 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.004231, allocations: 136.5 kB / 270.9 MB, free: 3.477 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.00424, allocations: 8.375 kB / 270.9 MB, free: 3.469 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.004253, allocations: 4.375 kB / 270.9 MB, free: 3.465 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.004478, allocations: 125.5 kB / 271 MB, free: 3.316 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.004487, allocations: 192 / 271 MB, free: 3.316 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.004498, allocations: 4.125 kB / 271 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.004505, allocations: 0 / 271 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.295e-05/0.004527, allocations: 4 kB / 271 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.004767, allocations: 263.5 kB / 271.3 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.074e-05/0.004817, allocations: 66.05 kB / 271.3 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.31e-05/0.00484, allocations: 23.5 kB / 271.4 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.004857, allocations: 0 / 271.4 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.004877, allocations: 45.27 kB / 271.4 MB, free: 2.836 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.004878, allocations: 0 / 271.4 MB, free: 2.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001323/0.00501, allocations: 45.64 kB / 271.5 MB, free: 2.785 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.005052, allocations: 92.98 kB / 271.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.005147, allocations: 189.9 kB / 271.7 MB, free: 2.473 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.005156, allocations: 29.95 kB / 271.8 MB, free: 2.438 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.005203, allocations: 142.8 kB / 271.9 MB, free: 2.293 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.005217, allocations: 3.953 kB / 271.9 MB, free: 2.289 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.005241, allocations: 19.38 kB / 271.9 MB, free: 2.262 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.00535, allocations: 496.1 kB / 272.4 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.005361, allocations: 7.984 kB / 272.4 MB, free: 1.758 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-06/0.005367, allocations: 0 / 272.4 MB, free: 1.758 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.267e-05/0.00539, allocations: 11.69 kB / 272.4 MB, free: 1.742 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005392, allocations: 0 / 272.4 MB, free: 1.742 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.316e-05/0.005435, allocations: 45.53 kB / 272.5 MB, free: 1.691 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.005447, allocations: 12.09 kB / 272.5 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.005452, allocations: 0 / 272.5 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.00547, allocations: 0 / 272.5 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.005535, allocations: 7.984 kB / 272.5 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.005539, allocations: 0 / 272.5 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/0.005553, allocations: 0 / 272.5 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.00556, allocations: 4 kB / 272.5 MB, free: 1.668 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 5.704e-05/0.005617, allocations: 156.6 kB / 272.6 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.00565, allocations: 37.59 kB / 272.7 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.005681, allocations: 15.83 kB / 272.7 MB, free: 1.445 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.005682, allocations: 4 kB / 272.7 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.005686, allocations: 0 / 272.7 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.005689, allocations: 4 kB / 272.7 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.369e-05/0.005783, allocations: 128.6 kB / 272.8 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005784, allocations: 0 / 272.8 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.005805, allocations: 7.984 kB / 272.8 MB, free: 1.27 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.005807, allocations: 0 / 272.8 MB, free: 1.27 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.005815, allocations: 7.938 kB / 272.8 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-07/0.005816, allocations: 0 / 272.8 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005816, allocations: 0 / 272.8 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.2e-05/0.005908, allocations: 203.6 kB / 273 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.005933, allocations: 11.95 kB / 273.1 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.005944, allocations: 7.922 kB / 273.1 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.006e-05/0.005974, allocations: 0 / 273.1 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.006005, allocations: 7.938 kB / 273.1 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.006008, allocations: 3.938 kB / 273.1 MB, free: 1.008 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.63e-05/0.006064, allocations: 150.3 kB / 273.2 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006064, allocations: 0 / 273.2 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001394/0.006203, allocations: 4 kB / 273.2 MB, free: 0.8594 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.666e-05/0.00627, allocations: 99.27 kB / 273.3 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.135e-05/0.006341, allocations: 15.69 kB / 273.3 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.006343, allocations: 0 / 273.3 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.381e-05/0.006356, allocations: 11.69 kB / 273.4 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.006601, allocations: 24.22 kB / 273.4 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.007016, allocations: 169.3 kB / 273.5 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.739e-05/0.007054, allocations: 67.56 kB / 273.6 MB, free: 420 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.91e-05/0.007073, allocations: 0 / 273.6 MB, free: 420 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.007099, allocations: 12.5 kB / 273.6 MB, free: 404 kB / 250.7 MB Notification: Performance of SimCode: time 4.01e-07/0.0071, allocations: 0 / 273.6 MB, free: 404 kB / 250.7 MB Notification: Performance of Templates: time 0.002371/0.00947, allocations: 0.6333 MB / 274.3 MB, free: 15.77 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/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.7281874981708825]