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.001967/0.001967, allocations: 100.7 kB / 20.96 MB, free: 480 kB / 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.002454/0.002454, allocations: 149 kB / 24.24 MB, free: 3.551 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.376/1.376, allocations: 173.3 MB / 200.8 MB, free: 12.74 MB / 190.1 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.392e-06/1.392e-06, allocations: 0 / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.832e-05, allocations: 2.312 kB / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002877/0.002905, allocations: 1.568 MB / 268.9 MB, free: 8.652 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009297/0.003835, allocations: 474.6 kB / 269.3 MB, free: 8.184 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.676e-05/0.003912, allocations: 4 kB / 269.3 MB, free: 8.18 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 4.531e-05/0.003957, allocations: 11.86 kB / 269.3 MB, free: 8.168 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.004075, allocations: 3.938 kB / 269.3 MB, free: 8.164 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.00434, allocations: 55.75 kB / 269.4 MB, free: 8.109 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.004452, allocations: 43.84 kB / 269.4 MB, free: 8.066 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.534e-05/0.004537, allocations: 12.12 kB / 269.4 MB, free: 8.055 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.658e-05/0.004634, allocations: 39.89 kB / 269.5 MB, free: 8.016 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/0.00469, allocations: 15.92 kB / 269.5 MB, free: 8 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.004711, allocations: 4 kB / 269.5 MB, free: 7.996 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.004721, allocations: 0 / 269.5 MB, free: 7.996 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.004764, allocations: 11.94 kB / 269.5 MB, free: 7.984 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.004807, allocations: 23.91 kB / 269.5 MB, free: 7.961 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.004926, allocations: 55.8 kB / 269.6 MB, free: 7.906 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004929, allocations: 0 / 269.6 MB, free: 7.906 MB / 254.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.00493, allocations: 0 / 269.6 MB, free: 7.906 MB / 254.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004933, allocations: 0 / 269.6 MB, free: 7.906 MB / 254.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.0004571/0.00539, allocations: 302 kB / 269.9 MB, free: 7.582 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.005425, allocations: 12.92 kB / 269.9 MB, free: 7.57 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.005471, allocations: 12.84 kB / 269.9 MB, free: 7.559 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.005712, allocations: 145.5 kB / 270.1 MB, free: 7.391 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.005721, allocations: 384 / 270.1 MB, free: 7.391 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.005735, allocations: 8.375 kB / 270.1 MB, free: 7.383 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.005995, allocations: 101.6 kB / 270.2 MB, free: 7.266 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.006002, allocations: 4.188 kB / 270.2 MB, free: 7.262 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.006012, allocations: 8.125 kB / 270.2 MB, free: 7.254 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.006015, allocations: 0 / 270.2 MB, free: 7.254 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.043e-05/0.006096, allocations: 19.92 kB / 270.2 MB, free: 7.234 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.006373, allocations: 205.5 kB / 270.4 MB, free: 7 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.006482, allocations: 41.16 kB / 270.4 MB, free: 6.941 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.45e-05/0.006537, allocations: 21.77 kB / 270.5 MB, free: 6.914 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.006554, allocations: 0 / 270.5 MB, free: 6.914 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.006584, allocations: 42.5 kB / 270.5 MB, free: 6.863 MB / 254.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.006585, allocations: 4 kB / 270.5 MB, free: 6.859 MB / 254.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002424/0.006827, allocations: 65.56 kB / 270.6 MB, free: 6.789 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.006884, allocations: 81.11 kB / 270.6 MB, free: 6.691 MB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.007023, allocations: 148.6 kB / 270.8 MB, free: 6.539 MB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.00704, allocations: 25.7 kB / 270.8 MB, free: 6.508 MB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.007097, allocations: 92.08 kB / 270.9 MB, free: 6.414 MB / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.007109, allocations: 3.953 kB / 270.9 MB, free: 6.41 MB / 254.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.007144, allocations: 13.97 kB / 270.9 MB, free: 6.391 MB / 254.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.007284, allocations: 322.8 kB / 271.2 MB, free: 6.066 MB / 254.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.713e-05/0.007321, allocations: 4 kB / 271.2 MB, free: 6.062 MB / 254.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-05/0.007358, allocations: 15.98 kB / 271.3 MB, free: 6.047 MB / 254.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.474e-05/0.007423, allocations: 16.8 kB / 271.3 MB, free: 6.027 MB / 254.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007425, allocations: 0 / 271.3 MB, free: 6.027 MB / 254.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001167/0.007541, allocations: 53.61 kB / 271.3 MB, free: 5.969 MB / 254.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.007556, allocations: 8 kB / 271.3 MB, free: 5.961 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.00756, allocations: 4.094 kB / 271.3 MB, free: 5.957 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.007572, allocations: 0 / 271.3 MB, free: 5.957 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.426e-05/0.007637, allocations: 7.984 kB / 271.3 MB, free: 5.949 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.007641, allocations: 0 / 271.3 MB, free: 5.949 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.007674, allocations: 3.953 kB / 271.3 MB, free: 5.945 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.007682, allocations: 3.984 kB / 271.4 MB, free: 5.941 MB / 254.1 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.197e-05/0.007774, allocations: 117.8 kB / 271.5 MB, free: 5.816 MB / 254.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/0.007837, allocations: 41.52 kB / 271.5 MB, free: 5.77 MB / 254.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.007864, allocations: 15.8 kB / 271.5 MB, free: 5.754 MB / 254.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.007868, allocations: 4 kB / 271.5 MB, free: 5.75 MB / 254.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.007871, allocations: 4.031 kB / 271.5 MB, free: 5.746 MB / 254.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.007876, allocations: 4 kB / 271.5 MB, free: 5.742 MB / 254.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.00802, allocations: 117.2 kB / 271.6 MB, free: 5.598 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008021, allocations: 0 / 271.6 MB, free: 5.598 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/0.008069, allocations: 11.98 kB / 271.7 MB, free: 5.586 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.008071, allocations: 0 / 271.7 MB, free: 5.586 MB / 254.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.00808, allocations: 7.938 kB / 271.7 MB, free: 5.578 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.008082, allocations: 0 / 271.7 MB, free: 5.578 MB / 254.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008082, allocations: 0 / 271.7 MB, free: 5.578 MB / 254.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.008269, allocations: 168.3 kB / 271.8 MB, free: 5.395 MB / 254.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.008299, allocations: 4 kB / 271.8 MB, free: 5.391 MB / 254.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.008318, allocations: 7.938 kB / 271.8 MB, free: 5.383 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.008388, allocations: 7.984 kB / 271.9 MB, free: 5.375 MB / 254.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.008417, allocations: 0 / 271.9 MB, free: 5.375 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.00842, allocations: 0 / 271.9 MB, free: 5.375 MB / 254.1 MB Notification: Performance of sorting global known variables: time 8.438e-05/0.008505, allocations: 115.2 kB / 272 MB, free: 5.262 MB / 254.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008505, allocations: 0 / 272 MB, free: 5.262 MB / 254.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.008737, allocations: 4 kB / 272 MB, free: 5.258 MB / 254.1 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 9.288e-05/0.00883, allocations: 103.3 kB / 272.1 MB, free: 5.148 MB / 254.1 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.00896, allocations: 23.92 kB / 272.1 MB, free: 5.125 MB / 254.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.008961, allocations: 0 / 272.1 MB, free: 5.125 MB / 254.1 MB Notification: Performance of simCode: created simulation system equations: time 3.677e-05/0.008998, allocations: 4 kB / 272.1 MB, free: 5.121 MB / 254.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.009314, allocations: 20.3 kB / 272.1 MB, free: 5.098 MB / 254.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.009634, allocations: 168.8 kB / 272.3 MB, free: 4.906 MB / 254.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.865e-05/0.009712, allocations: 75.55 kB / 272.4 MB, free: 4.812 MB / 254.1 MB Notification: Performance of simCode: alias equations: time 3.108e-05/0.009743, allocations: 4 kB / 272.4 MB, free: 4.809 MB / 254.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.00977, allocations: 8.5 kB / 272.4 MB, free: 4.797 MB / 254.1 MB Notification: Performance of SimCode: time 4.91e-07/0.00977, allocations: 0 / 272.4 MB, free: 4.797 MB / 254.1 MB Notification: Performance of Templates: time 0.003142/0.01291, allocations: 0.6442 MB / 273 MB, free: 4.168 MB / 254.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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: 3.974343419075012]