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.001331/0.001331, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001528/0.001528, allocations: 213.1 kB / 23.73 MB, free: 4.16 MB / 14.72 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.568/1.568, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001998/0.001998, allocations: 59.91 kB / 378.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2768, allocations: 53.41 MB / 431.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003502/0.2803, allocations: 1.59 MB / 433.2 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.2816, allocations: 0.5143 MB / 433.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.2817, allocations: 7.938 kB / 433.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.351e-05/0.2818, allocations: 3.938 kB / 433.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.2819, allocations: 15.88 kB / 433.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.2823, allocations: 59.75 kB / 433.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.2825, allocations: 59.78 kB / 433.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2826, allocations: 8.172 kB / 433.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.2827, allocations: 31.86 kB / 433.9 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.849e-05/0.2828, allocations: 19.86 kB / 433.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.2828, allocations: 4 kB / 434 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.248e-05/0.2829, allocations: 8 kB / 434 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.283, allocations: 19.91 kB / 434 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.283, allocations: 19.88 kB / 434 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.2832, allocations: 61.92 kB / 434.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2832, allocations: 0 / 434.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2832, allocations: 4 kB / 434.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.2832, allocations: 0 / 434.1 MB, free: 4.113 MB / 334.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.0006679/0.2839, allocations: 309.9 kB / 434.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.2839, allocations: 19.92 kB / 434.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.2841, allocations: 16.89 kB / 434.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.2845, allocations: 150.3 kB / 434.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.2845, allocations: 4.375 kB / 434.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.2845, allocations: 7.938 kB / 434.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.2849, allocations: 121.9 kB / 434.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2849, allocations: 0 / 434.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2849, allocations: 0 / 434.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2849, allocations: 0 / 434.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.208e-05/0.285, allocations: 27.91 kB / 434.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.2854, allocations: 222.2 kB / 434.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.2855, allocations: 71.78 kB / 435 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.114e-05/0.2856, allocations: 30.58 kB / 435 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.2856, allocations: 4 kB / 435 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.2856, allocations: 34.55 kB / 435.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.2856, allocations: 0 / 435.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003116/0.286, allocations: 85.56 kB / 435.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.2861, allocations: 115.1 kB / 435.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.2862, allocations: 145.8 kB / 435.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2863, allocations: 25.7 kB / 435.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.2863, allocations: 88.14 kB / 435.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.2863, allocations: 4 kB / 435.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.2864, allocations: 21.67 kB / 435.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2865, allocations: 318.8 kB / 435.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.532e-05/0.2866, allocations: 15.98 kB / 435.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.309e-05/0.2866, allocations: 31.44 kB / 435.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.2867, allocations: 51.36 kB / 435.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2867, allocations: 0 / 435.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001426/0.2869, allocations: 73.48 kB / 436 MB, free: 1.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2869, allocations: 4 kB / 436 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2869, allocations: 0 / 436 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.2869, allocations: 4.125 kB / 436 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.265e-05/0.287, allocations: 15.92 kB / 436 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.287, allocations: 4 kB / 436 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.287, allocations: 4 kB / 436 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.287, allocations: 7.938 kB / 436.1 MB, free: 1.871 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.0001041/0.2872, allocations: 117.8 kB / 436.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-05/0.2872, allocations: 57.55 kB / 436.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.2873, allocations: 15.95 kB / 436.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2873, allocations: 0 / 436.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.2873, allocations: 0 / 436.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2873, allocations: 8.062 kB / 436.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.2875, allocations: 113.2 kB / 436.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2875, allocations: 0 / 436.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.147e-05/0.2875, allocations: 11.98 kB / 436.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2875, allocations: 4 kB / 436.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.2875, allocations: 8 kB / 436.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2876, allocations: 0 / 436.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2876, allocations: 0 / 436.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.2878, allocations: 181.1 kB / 436.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.2878, allocations: 27.88 kB / 436.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.2878, allocations: 0 / 436.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.2879, allocations: 0 / 436.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.2879, allocations: 8.125 kB / 436.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.2879, allocations: 0 / 436.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.65e-05/0.288, allocations: 122.6 kB / 436.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.288, allocations: 0 / 436.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.2882, allocations: 4 kB / 436.7 MB, free: 1.137 MB / 334.1 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 0.000113/0.2884, allocations: 95.25 kB / 436.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.2885, allocations: 39.91 kB / 436.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2885, allocations: 0 / 436.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.2886, allocations: 11.98 kB / 436.9 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.2889, allocations: 30.7 kB / 436.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.2893, allocations: 184.5 kB / 437.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.013e-05/0.2894, allocations: 83.7 kB / 437.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.125e-05/0.2894, allocations: 4 kB / 437.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.2895, allocations: 15.42 kB / 437.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2895, allocations: 0 / 437.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of Templates: time 0.003822/0.2933, allocations: 0.7337 MB / 437.9 MB, free: 15.9 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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: 4.674015620723367]