Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001282/0.001282, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001422/0.001422, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.487/1.487, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 71.83 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2667, allocations: 53.3 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003168/0.2698, allocations: 1.656 MB / 433.7 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2709, allocations: 0.5882 MB / 434.3 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.676e-05/0.271, allocations: 7.938 kB / 434.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.128e-05/0.2711, allocations: 3.938 kB / 434.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.2712, allocations: 19.8 kB / 434.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.2715, allocations: 59.81 kB / 434.4 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.2717, allocations: 63.72 kB / 434.4 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.2718, allocations: 16.22 kB / 434.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.2719, allocations: 35.91 kB / 434.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.776e-05/0.272, allocations: 27.8 kB / 434.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.272, allocations: 4 kB / 434.5 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.406e-05/0.272, allocations: 8 kB / 434.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.2721, allocations: 15.92 kB / 434.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.2721, allocations: 35.73 kB / 434.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.2723, allocations: 77.56 kB / 434.7 MB, free: 4.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2723, allocations: 0 / 434.7 MB, free: 4.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2723, allocations: 0 / 434.7 MB, free: 4.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.2723, allocations: 0 / 434.7 MB, free: 4.777 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006162/0.2729, allocations: 395 kB / 435 MB, free: 4.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.273, allocations: 8.031 kB / 435.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.2732, allocations: 20.84 kB / 435.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.2735, allocations: 216.1 kB / 435.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.2735, allocations: 8.312 kB / 435.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.2735, allocations: 8.312 kB / 435.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.2739, allocations: 143 kB / 435.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2739, allocations: 4 kB / 435.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.2739, allocations: 0 / 435.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.2739, allocations: 0 / 435.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.724e-05/0.274, allocations: 31.92 kB / 435.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.2744, allocations: 291.3 kB / 435.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.2745, allocations: 98.41 kB / 435.9 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.073e-05/0.2746, allocations: 39.48 kB / 435.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.2746, allocations: 4 kB / 435.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.2747, allocations: 42.5 kB / 435.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.2747, allocations: 0 / 435.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003049/0.275, allocations: 97.55 kB / 436 MB, free: 3.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.2751, allocations: 145 kB / 436.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.2752, allocations: 149.7 kB / 436.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.2753, allocations: 25.7 kB / 436.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.2753, allocations: 92.14 kB / 436.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.2753, allocations: 11.94 kB / 436.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.2754, allocations: 17.72 kB / 436.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2755, allocations: 322.8 kB / 436.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-05/0.2756, allocations: 8 kB / 436.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.44e-05/0.2757, allocations: 49.14 kB / 436.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.2758, allocations: 76.95 kB / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2758, allocations: 0 / 436.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001687/0.2759, allocations: 85.5 kB / 437 MB, free: 2.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.276, allocations: 4 kB / 437 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.276, allocations: 128 / 437 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.276, allocations: 12.19 kB / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.065e-05/0.2761, allocations: 11.98 kB / 437 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2761, allocations: 4 kB / 437 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.2761, allocations: 8 kB / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.2761, allocations: 0 / 437 MB, free: 2.062 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.617e-05/0.2762, allocations: 129.7 kB / 437.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.2763, allocations: 69.53 kB / 437.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.2764, allocations: 19.92 kB / 437.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2764, allocations: 4 kB / 437.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2764, allocations: 3.938 kB / 437.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2764, allocations: 0 / 437.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.2766, allocations: 185.5 kB / 437.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2766, allocations: 0 / 437.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.703e-05/0.2767, allocations: 11.98 kB / 437.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.2767, allocations: 4 kB / 437.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2767, allocations: 4 kB / 437.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2767, allocations: 4 kB / 437.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2767, allocations: 0 / 437.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.2769, allocations: 201.9 kB / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.277, allocations: 89.05 kB / 437.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.277, allocations: 7.984 kB / 437.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.2771, allocations: 8 kB / 437.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.2771, allocations: 4 kB / 437.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.2771, allocations: 0 / 437.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.512e-05/0.2772, allocations: 118.1 kB / 437.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2772, allocations: 0 / 437.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.2774, allocations: 8 kB / 437.9 MB, free: 1.102 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0001139/0.2776, allocations: 99.25 kB / 438 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.2777, allocations: 51.84 kB / 438 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2777, allocations: 0 / 438 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.481e-05/0.2778, allocations: 4 kB / 438 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.2782, allocations: 57.59 kB / 438.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.2786, allocations: 256 kB / 438.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.279, allocations: 0.6963 MB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.279, allocations: 11.44 kB / 439.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.279, allocations: 0 / 439.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Templates: time 0.002732/0.2817, allocations: 1.045 MB / 440.1 MB, free: 14.82 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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: 6.8363332892768085]