Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001729/0.001729, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002169/0.002169, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 67.88 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2672, allocations: 50.53 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.00309/0.2703, allocations: 1.627 MB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.2715, allocations: 0.5802 MB / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.2716, allocations: 4 kB / 412.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.83e-05/0.2717, allocations: 7.875 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.2719, allocations: 15.88 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.2723, allocations: 59.81 kB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.2724, allocations: 63.77 kB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.2725, allocations: 24.16 kB / 412.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.2727, allocations: 27.92 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.562e-05/0.2728, allocations: 27.84 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.2728, allocations: 4 kB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.557e-05/0.2729, allocations: 4 kB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.2729, allocations: 19.92 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.273, allocations: 31.69 kB / 412.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.2732, allocations: 75.66 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2732, allocations: 0 / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2732, allocations: 4 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.2732, allocations: 0 / 412.5 MB, free: 15 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.0005999/0.2738, allocations: 396.2 kB / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2739, allocations: 8.031 kB / 412.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.274, allocations: 16.84 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.2744, allocations: 227.9 kB / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.2744, allocations: 4.375 kB / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.2745, allocations: 8.375 kB / 413.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.2748, allocations: 139 kB / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2748, allocations: 0 / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.2748, allocations: 4 kB / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.2749, allocations: 0 / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.653e-05/0.275, allocations: 31.92 kB / 413.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.2753, allocations: 291.3 kB / 413.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.2755, allocations: 94.42 kB / 413.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.776e-05/0.2756, allocations: 43.48 kB / 413.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.2756, allocations: 4 kB / 413.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.2756, allocations: 42.5 kB / 413.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.2756, allocations: 0 / 413.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003378/0.276, allocations: 97.97 kB / 413.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.131e-05/0.2761, allocations: 140.5 kB / 414 MB, free: 13.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.2762, allocations: 150.9 kB / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.2763, allocations: 25.7 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.2763, allocations: 92.14 kB / 414.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.2763, allocations: 11.89 kB / 414.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.2764, allocations: 21.72 kB / 414.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2765, allocations: 318.8 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.663e-05/0.2766, allocations: 16 kB / 414.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/0.2766, allocations: 45.14 kB / 414.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.2768, allocations: 73.02 kB / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2768, allocations: 0 / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001699/0.2769, allocations: 85.45 kB / 414.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.277, allocations: 11.31 kB / 414.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.277, allocations: 0 / 414.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.277, allocations: 4 kB / 414.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.929e-05/0.2771, allocations: 11.98 kB / 414.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.2771, allocations: 4 kB / 414.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.418e-05/0.2772, allocations: 4.125 kB / 414.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.2772, allocations: 7.938 kB / 414.9 MB, free: 12.29 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 0.0001018/0.2773, allocations: 137.6 kB / 415 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.2774, allocations: 65.53 kB / 415.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.979e-05/0.2775, allocations: 15.83 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2775, allocations: 4 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2775, allocations: 0 / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2775, allocations: 0 / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.2777, allocations: 189.5 kB / 415.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2777, allocations: 0 / 415.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.2778, allocations: 15.92 kB / 415.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.2778, allocations: 4 kB / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2779, allocations: 0 / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2779, allocations: 8.078 kB / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2779, allocations: 4 kB / 415.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.2781, allocations: 197.9 kB / 415.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.2782, allocations: 96.94 kB / 415.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.2782, allocations: 11.98 kB / 415.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.2783, allocations: 0 / 415.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.2783, allocations: 4 kB / 415.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2783, allocations: 0 / 415.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001/0.2784, allocations: 119.2 kB / 415.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2784, allocations: 0 / 415.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.2787, allocations: 4 kB / 415.7 MB, free: 11.31 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.0001156/0.2788, allocations: 99.25 kB / 415.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.279, allocations: 55.84 kB / 415.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.279, allocations: 0 / 415.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.382e-05/0.279, allocations: 4 kB / 415.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.2794, allocations: 58.11 kB / 415.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.2799, allocations: 232 kB / 416.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.2802, allocations: 0.7002 MB / 416.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.2802, allocations: 11.44 kB / 416.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2802, allocations: 0 / 416.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of Templates: time 0.002726/0.2829, allocations: 1.056 MB / 417.9 MB, free: 9.035 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches