Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001444/0.001444, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001448/0.001448, allocations: 209.3 kB / 23.73 MB, free: 4.379 MB / 14.72 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 51.92 kB / 378.2 MB, free: 2.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2827, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002967/0.2857, allocations: 1.59 MB / 433.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.2868, allocations: 0.5258 MB / 433.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.945e-05/0.2869, allocations: 4 kB / 433.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.682e-05/0.2869, allocations: 7.875 kB / 433.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.2871, allocations: 15.86 kB / 433.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.2874, allocations: 63.77 kB / 433.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.2876, allocations: 47.84 kB / 433.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.2877, allocations: 12.17 kB / 433.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.2878, allocations: 27.92 kB / 433.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.443e-05/0.2879, allocations: 23.86 kB / 433.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.2879, allocations: 4 kB / 433.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.415e-05/0.288, allocations: 8 kB / 433.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.288, allocations: 19.91 kB / 433.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.2881, allocations: 23.81 kB / 434 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.2882, allocations: 64.88 kB / 434 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2883, allocations: 0 / 434 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2883, allocations: 0 / 434 MB, free: 4.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2883, allocations: 0 / 434 MB, free: 4.281 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.0006162/0.2889, allocations: 309.9 kB / 434.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.2889, allocations: 12.03 kB / 434.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.2891, allocations: 20.88 kB / 434.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.2895, allocations: 146.3 kB / 434.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.2895, allocations: 384 / 434.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.2895, allocations: 7.938 kB / 434.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.2899, allocations: 125.9 kB / 434.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.2899, allocations: 0 / 434.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.2899, allocations: 0 / 434.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2899, allocations: 3.938 kB / 434.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.682e-05/0.29, allocations: 19.98 kB / 434.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.2904, allocations: 226.1 kB / 434.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.2905, allocations: 67.78 kB / 434.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.539e-05/0.2906, allocations: 30.64 kB / 435 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.2907, allocations: 7.984 kB / 435 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.2907, allocations: 30.56 kB / 435 MB, free: 3.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.2907, allocations: 0 / 435 MB, free: 3.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003252/0.291, allocations: 89.52 kB / 435.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.2911, allocations: 110.8 kB / 435.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.2913, allocations: 149.7 kB / 435.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.2913, allocations: 30.08 kB / 435.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.2914, allocations: 88.14 kB / 435.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.2914, allocations: 4 kB / 435.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.2915, allocations: 25.66 kB / 435.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.2916, allocations: 318.8 kB / 435.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.084e-05/0.2917, allocations: 11.98 kB / 435.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.01e-05/0.2917, allocations: 35.42 kB / 435.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.2918, allocations: 47.36 kB / 435.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2918, allocations: 4 kB / 435.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001499/0.292, allocations: 61.62 kB / 436 MB, free: 2.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.292, allocations: 4 kB / 436 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.292, allocations: 3.938 kB / 436 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.292, allocations: 4 kB / 436 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.468e-05/0.2921, allocations: 11.98 kB / 436 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2921, allocations: 4 kB / 436 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.2922, allocations: 4.125 kB / 436 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.2922, allocations: 7.938 kB / 436 MB, free: 2.051 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.0001113/0.2923, allocations: 117.8 kB / 436.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/0.2924, allocations: 57.55 kB / 436.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.2924, allocations: 15.95 kB / 436.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2924, allocations: 0 / 436.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2924, allocations: 96 / 436.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2924, allocations: 7.984 kB / 436.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.2926, allocations: 117.2 kB / 436.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2926, allocations: 4.062 kB / 436.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.489e-05/0.2927, allocations: 16 kB / 436.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2927, allocations: 4 kB / 436.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.2927, allocations: 3.938 kB / 436.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2927, allocations: 0 / 436.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2927, allocations: 0 / 436.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.2929, allocations: 181.1 kB / 436.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.293, allocations: 19.88 kB / 436.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.293, allocations: 4 kB / 436.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.2931, allocations: 7.984 kB / 436.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.2931, allocations: 4 kB / 436.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.2931, allocations: 0 / 436.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.2932, allocations: 120.9 kB / 436.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2932, allocations: 0 / 436.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000225/0.2934, allocations: 4 kB / 436.7 MB, free: 1.309 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.0001154/0.2936, allocations: 95.25 kB / 436.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.2937, allocations: 32.11 kB / 436.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2937, allocations: 8 kB / 436.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.292e-05/0.2938, allocations: 15.92 kB / 436.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.2941, allocations: 24.02 kB / 436.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.2945, allocations: 184.1 kB / 437 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.2946, allocations: 81.5 kB / 437.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.759e-05/0.2947, allocations: 8.234 kB / 437.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.2947, allocations: 15.38 kB / 437.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2947, allocations: 0 / 437.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of Templates: time 0.003314/0.298, allocations: 0.7509 MB / 437.9 MB, free: 72 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.613342243712395]