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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001127, allocations: 98.16 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 51.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2667, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002729/0.2694, allocations: 1.647 MB / 408.7 MB, free: 26.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008144/0.2703, allocations: 0.5182 MB / 409.2 MB, free: 25.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.222e-05/0.2704, allocations: 0.7188 kB / 409.2 MB, free: 25.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.982e-05/0.2705, allocations: 7.875 kB / 409.2 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.2706, allocations: 19.86 kB / 409.2 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.2708, allocations: 43.89 kB / 409.3 MB, free: 25.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.745e-05/0.2709, allocations: 43.86 kB / 409.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.2711, allocations: 16.17 kB / 409.3 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.2712, allocations: 31.84 kB / 409.4 MB, free: 25.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.2713, allocations: 19.86 kB / 409.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.2713, allocations: 4 kB / 409.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.557e-05/0.2713, allocations: 8 kB / 409.4 MB, free: 25.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.2714, allocations: 15.92 kB / 409.4 MB, free: 25.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.2714, allocations: 23.81 kB / 409.4 MB, free: 25.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.2715, allocations: 55.73 kB / 409.5 MB, free: 25.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2716, allocations: 0 / 409.5 MB, free: 25.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2716, allocations: 0 / 409.5 MB, free: 25.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.2716, allocations: 0 / 409.5 MB, free: 25.35 MB / 298.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.0004516/0.272, allocations: 384.7 kB / 409.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2721, allocations: 8.875 kB / 409.9 MB, free: 24.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.2722, allocations: 20.84 kB / 409.9 MB, free: 24.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.2724, allocations: 200.1 kB / 410.1 MB, free: 24.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.2724, allocations: 384 / 410.1 MB, free: 24.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.2725, allocations: 12.25 kB / 410.1 MB, free: 24.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.2727, allocations: 118 kB / 410.2 MB, free: 24.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2727, allocations: 0 / 410.2 MB, free: 24.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2727, allocations: 4 kB / 410.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2728, allocations: 0 / 410.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.2728, allocations: 23.97 kB / 410.3 MB, free: 24.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.2731, allocations: 274.5 kB / 410.5 MB, free: 24.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.099e-05/0.2732, allocations: 67.78 kB / 410.6 MB, free: 24.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.901e-05/0.2733, allocations: 34.64 kB / 410.6 MB, free: 24.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.2733, allocations: 0 / 410.6 MB, free: 24.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.2733, allocations: 42.55 kB / 410.7 MB, free: 23.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.834e-06/0.2734, allocations: 3.984 kB / 410.7 MB, free: 23.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002435/0.2736, allocations: 85.45 kB / 410.8 MB, free: 23.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.2737, allocations: 107.2 kB / 410.9 MB, free: 23.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.54e-05/0.2738, allocations: 148.2 kB / 411 MB, free: 23.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.2738, allocations: 25.7 kB / 411 MB, free: 23.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.2738, allocations: 88.14 kB / 411.1 MB, free: 23.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.2738, allocations: 0 / 411.1 MB, free: 23.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.2739, allocations: 21.62 kB / 411.1 MB, free: 23.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.584e-05/0.2739, allocations: 326.8 kB / 411.5 MB, free: 23.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.98e-05/0.274, allocations: 7.984 kB / 411.5 MB, free: 23.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.116e-05/0.274, allocations: 35.44 kB / 411.5 MB, free: 23.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.2741, allocations: 51.3 kB / 411.5 MB, free: 23.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2741, allocations: 4 kB / 411.6 MB, free: 23 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001136/0.2742, allocations: 77.55 kB / 411.6 MB, free: 22.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2743, allocations: 4 kB / 411.6 MB, free: 22.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2743, allocations: 0 / 411.6 MB, free: 22.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2743, allocations: 0 / 411.6 MB, free: 22.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.58e-05/0.2744, allocations: 11.98 kB / 411.6 MB, free: 22.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.2744, allocations: 4 kB / 411.6 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.777e-05/0.2744, allocations: 7.844 kB / 411.7 MB, free: 22.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.2744, allocations: 4 kB / 411.7 MB, free: 22.89 MB / 298.7 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 6.94e-05/0.2745, allocations: 131.4 kB / 411.8 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.2746, allocations: 53.55 kB / 411.8 MB, free: 22.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.2746, allocations: 11.86 kB / 411.9 MB, free: 22.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2746, allocations: 4 kB / 411.9 MB, free: 22.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2746, allocations: 3.938 kB / 411.9 MB, free: 22.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2747, allocations: 0 / 411.9 MB, free: 22.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.2748, allocations: 173.6 kB / 412 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2748, allocations: 0 / 412 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.211e-05/0.2748, allocations: 16.05 kB / 412 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2749, allocations: 0 / 412 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.2749, allocations: 4 kB / 412 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2749, allocations: 3.938 kB / 412.1 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2749, allocations: 0 / 412.1 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.2752, allocations: 0.7373 MB / 412.8 MB, free: 21.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.2753, allocations: 96.98 kB / 412.9 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.2753, allocations: 4 kB / 412.9 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.405e-05/0.2754, allocations: 0 / 412.9 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.2754, allocations: 7.938 kB / 412.9 MB, free: 21.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.2754, allocations: 0 / 412.9 MB, free: 21.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.114e-05/0.2755, allocations: 113.7 kB / 413 MB, free: 21.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2755, allocations: 0 / 413 MB, free: 21.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003107/0.2758, allocations: 8 kB / 413 MB, free: 21.38 MB / 298.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 9.831e-05/0.2759, allocations: 99.25 kB / 413.1 MB, free: 21.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.276, allocations: 35.91 kB / 413.1 MB, free: 21.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2761, allocations: 0 / 413.1 MB, free: 21.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.629e-05/0.2761, allocations: 4 kB / 413.1 MB, free: 21.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.2766, allocations: 35.27 kB / 413.2 MB, free: 21.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.2769, allocations: 305.2 kB / 413.5 MB, free: 20.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.2771, allocations: 0.7043 MB / 414.2 MB, free: 20.13 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.02e-05/0.2771, allocations: 0 / 414.2 MB, free: 20.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.2771, allocations: 15.42 kB / 414.2 MB, free: 20.12 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2771, allocations: 0 / 414.2 MB, free: 20.12 MB / 298.7 MB Notification: Performance of Templates: time 0.002517/0.2797, allocations: 0.6138 MB / 414.8 MB, free: 19.52 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches