Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009514/0.0009514, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.047/1.047, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.975e-05, allocations: 2.312 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003012/0.003042, allocations: 1.621 MB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009785/0.00402, allocations: 0.5374 MB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.907e-05/0.004109, allocations: 4 kB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.222e-05/0.004172, allocations: 3.938 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.004336, allocations: 11.86 kB / 275.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.00468, allocations: 67.62 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.00481, allocations: 55.78 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.004924, allocations: 16.16 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.005085, allocations: 31.92 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.918e-05/0.005144, allocations: 11.92 kB / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.005163, allocations: 4 kB / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.861e-05/0.005212, allocations: 11.98 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.005264, allocations: 15.92 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.005293, allocations: 8 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.005468, allocations: 51.7 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.005471, allocations: 0 / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005472, allocations: 4 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.005482, allocations: 0 / 275.4 MB, free: 15.06 MB / 266.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.0005764/0.006058, allocations: 416.2 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.006105, allocations: 8.031 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.006268, allocations: 16.89 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.006487, allocations: 149 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.006498, allocations: 384 / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.006516, allocations: 8.375 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.006823, allocations: 129.3 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.006836, allocations: 0 / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.006847, allocations: 7.938 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.006856, allocations: 0 / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.632e-05/0.006882, allocations: 4 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.007194, allocations: 263.5 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.983e-05/0.007264, allocations: 62 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.662e-05/0.007291, allocations: 19.36 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.007312, allocations: 8.062 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.007337, allocations: 37.39 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.007338, allocations: 0 / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001908/0.007529, allocations: 49.58 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.007582, allocations: 81.05 kB / 276.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.007726, allocations: 196.9 kB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.007741, allocations: 33.7 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.007809, allocations: 138.8 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.007823, allocations: 256 / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.007859, allocations: 23.38 kB / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.008013, allocations: 0.4922 MB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.008026, allocations: 0 / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-06/0.008035, allocations: 3.984 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.868e-05/0.008064, allocations: 11.69 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.008068, allocations: 4 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.481e-05/0.008143, allocations: 41.58 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.008159, allocations: 8 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.008166, allocations: 0 / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.008185, allocations: 4.094 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.389e-05/0.008259, allocations: 11.98 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.008265, allocations: 0 / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.008287, allocations: 0 / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.008295, allocations: 0 / 277.6 MB, free: 12.62 MB / 266.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 9.025e-05/0.008385, allocations: 160.5 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.008437, allocations: 33.66 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.008477, allocations: 15.8 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.008479, allocations: 0 / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.008485, allocations: 4 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.008488, allocations: 4.031 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.008634, allocations: 128.6 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.008635, allocations: 0 / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.759e-05/0.008663, allocations: 11.92 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.008667, allocations: 4 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.008674, allocations: 0 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.008675, allocations: 3.938 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.008676, allocations: 0 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.008807, allocations: 207.5 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.008838, allocations: 11.89 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.008853, allocations: 8.016 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.38e-05/0.008907, allocations: 4 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.008937, allocations: 0 / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.00894, allocations: 0 / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.42e-05/0.009014, allocations: 151.2 kB / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009015, allocations: 0 / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.009267, allocations: 4 kB / 278.3 MB, free: 11.8 MB / 266.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 8.591e-05/0.009353, allocations: 99.19 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.745e-05/0.00944, allocations: 11.69 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.009442, allocations: 4.062 kB / 278.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/0.00946, allocations: 15.69 kB / 278.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.009726, allocations: 16.23 kB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/0.01026, allocations: 177.3 kB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.901e-05/0.01031, allocations: 59.34 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.668e-05/0.01033, allocations: 4.156 kB / 278.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.01037, allocations: 12.5 kB / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01037, allocations: 0 / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of Templates: time 0.002493/0.01286, allocations: 0.6488 MB / 279.4 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.0235919910483062]