Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009361/0.0009361, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001236/0.002173, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007374/0.0007374, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009463/0.001684, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.002/1.002, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1027/1.105, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.686e-06/9.678e-06, allocations: 5.406 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.001791/0.001801, allocations: 1.693 MB / 246.9 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008121/0.002613, allocations: 0.5607 MB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.002675, allocations: 4 kB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.002708, allocations: 7.875 kB / 247.5 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.471e-05/0.002773, allocations: 11.92 kB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.00297, allocations: 59.7 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.003072, allocations: 51.78 kB / 247.6 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.766e-05/0.003139, allocations: 12.17 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.00327, allocations: 55.83 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.003317, allocations: 15.92 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.003331, allocations: 0 / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.821e-05/0.00338, allocations: 12 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.003412, allocations: 11.94 kB / 247.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.003433, allocations: 11.94 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.003551, allocations: 43.77 kB / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.00356, allocations: 4 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003561, allocations: 0 / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.003569, allocations: 0 / 247.8 MB, free: 11 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.0003371/0.003906, allocations: 284.2 kB / 248 MB, free: 10.7 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.003936, allocations: 16.03 kB / 248.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.00407, allocations: 102 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.004227, allocations: 138.2 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.004236, allocations: 4.375 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.004246, allocations: 4.375 kB / 248.3 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.004413, allocations: 126.9 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.004426, allocations: 3.938 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-06/0.004431, allocations: 0 / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.004437, allocations: 0 / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.233e-05/0.004459, allocations: 11.98 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.004626, allocations: 165.9 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.897e-05/0.004685, allocations: 59.78 kB / 248.7 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.326e-05/0.004708, allocations: 18.64 kB / 248.7 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.004724, allocations: 8 kB / 248.7 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.004749, allocations: 38.5 kB / 248.7 MB, free: 9.887 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.00475, allocations: 0 / 248.7 MB, free: 9.887 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001186/0.004868, allocations: 57.55 kB / 248.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.004915, allocations: 110.8 kB / 248.9 MB, free: 9.691 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.612e-05/0.005001, allocations: 134 kB / 249 MB, free: 9.551 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.005012, allocations: 29.7 kB / 249 MB, free: 9.516 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.005048, allocations: 88.11 kB / 249.1 MB, free: 9.426 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.005061, allocations: 4.328 kB / 249.1 MB, free: 9.422 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.005086, allocations: 17.72 kB / 249.2 MB, free: 9.398 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.00517, allocations: 322.8 kB / 249.5 MB, free: 9.074 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.232e-06/0.005177, allocations: 0 / 249.5 MB, free: 9.074 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-06/0.005184, allocations: 3.984 kB / 249.5 MB, free: 9.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.817e-05/0.005202, allocations: 8.859 kB / 249.5 MB, free: 9.059 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.005203, allocations: 0 / 249.5 MB, free: 9.059 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.33e-05/0.005247, allocations: 37.58 kB / 249.5 MB, free: 9.016 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.005258, allocations: 11.94 kB / 249.5 MB, free: 9.004 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.005263, allocations: 3.984 kB / 249.5 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.005274, allocations: 8.078 kB / 249.5 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.516e-05/0.005319, allocations: 4 kB / 249.5 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-06/0.005321, allocations: 0 / 249.5 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.00534, allocations: 0 / 249.5 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.005343, allocations: 0 / 249.5 MB, free: 8.988 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.766e-05/0.005401, allocations: 112.7 kB / 249.7 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.005452, allocations: 45.56 kB / 249.7 MB, free: 8.816 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.005479, allocations: 15.95 kB / 249.7 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.005481, allocations: 0 / 249.7 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.005484, allocations: 4 kB / 249.7 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.005488, allocations: 4.062 kB / 249.7 MB, free: 8.793 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.005618, allocations: 73.88 kB / 249.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005619, allocations: 0 / 249.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.005658, allocations: 11.98 kB / 249.8 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.005692, allocations: 23.84 kB / 249.8 MB, free: 8.668 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.005694, allocations: 0 / 249.8 MB, free: 8.668 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.0057, allocations: 4 kB / 249.8 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.005702, allocations: 0 / 249.8 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.005704, allocations: 3.938 kB / 249.8 MB, free: 8.66 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.592e-05/0.00579, allocations: 145.3 kB / 250 MB, free: 8.496 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.005803, allocations: 3.938 kB / 250 MB, free: 8.492 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.802e-05/0.005861, allocations: 3.984 kB / 250 MB, free: 8.488 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.005885, allocations: 8 kB / 250 MB, free: 8.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.005889, allocations: 0 / 250 MB, free: 8.48 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.294e-05/0.005922, allocations: 28.83 kB / 250 MB, free: 8.449 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005922, allocations: 0 / 250 MB, free: 8.449 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.006129, allocations: 4 kB / 250 MB, free: 8.445 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.061e-05/0.0062, allocations: 76.42 kB / 250.1 MB, free: 8.359 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.409e-05/0.006264, allocations: 24.81 kB / 250.1 MB, free: 8.332 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.006269, allocations: 4 kB / 250.1 MB, free: 8.328 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.514e-05/0.006284, allocations: 8.797 kB / 250.1 MB, free: 8.316 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.006571, allocations: 147.6 kB / 250.3 MB, free: 8.145 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008272/0.007398, allocations: 187.7 kB / 250.5 MB, free: 7.93 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.05e-05/0.007449, allocations: 63.34 kB / 250.5 MB, free: 7.848 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.562e-05/0.007474, allocations: 4.438 kB / 250.5 MB, free: 7.844 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/0.007543, allocations: 63.36 kB / 250.6 MB, free: 7.781 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.007544, allocations: 0 / 250.6 MB, free: 7.781 MB / 250.7 MB Notification: Performance of Templates: time 0.002496/0.01004, allocations: 0.7641 MB / 251.4 MB, free: 7.043 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.361004582606256]