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/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.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/Complex trunk/package.mo): time 0.001278/0.001278, 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.379/1.379, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 105.7 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 51.91 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2933, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002747/0.2961, allocations: 1.678 MB / 408.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000847/0.2969, allocations: 0.5453 MB / 409.3 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.637e-05/0.297, allocations: 4 kB / 409.3 MB, free: 25.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.197e-05/0.2971, allocations: 3.938 kB / 409.3 MB, free: 25.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.2973, allocations: 15.92 kB / 409.3 MB, free: 25.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.2975, allocations: 51.66 kB / 409.4 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.003e-05/0.2976, allocations: 55.83 kB / 409.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2977, allocations: 27.91 kB / 409.4 MB, free: 25.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.2978, allocations: 23.92 kB / 409.5 MB, free: 25.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.071e-05/0.2979, allocations: 31.78 kB / 409.5 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.2979, allocations: 4 kB / 409.5 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.497e-05/0.298, allocations: 12 kB / 409.5 MB, free: 25.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.298, allocations: 15.92 kB / 409.5 MB, free: 25.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.2981, allocations: 31.75 kB / 409.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.2982, allocations: 67.72 kB / 409.6 MB, free: 25.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2982, allocations: 0 / 409.6 MB, free: 25.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2982, allocations: 0 / 409.6 MB, free: 25.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.2982, allocations: 0 / 409.6 MB, free: 25.25 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004565/0.2987, allocations: 388.6 kB / 410 MB, free: 24.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2987, allocations: 8.875 kB / 410 MB, free: 24.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.2989, allocations: 28.83 kB / 410 MB, free: 24.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.2991, allocations: 205 kB / 410.2 MB, free: 24.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.2991, allocations: 4.375 kB / 410.2 MB, free: 24.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.2991, allocations: 8.312 kB / 410.2 MB, free: 24.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.2994, allocations: 139 kB / 410.4 MB, free: 24.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2995, allocations: 0 / 410.4 MB, free: 24.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2995, allocations: 4 kB / 410.4 MB, free: 24.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2995, allocations: 4 kB / 410.4 MB, free: 24.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.294e-05/0.2996, allocations: 27.92 kB / 410.4 MB, free: 24.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.2999, allocations: 295.3 kB / 410.7 MB, free: 24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.3001, allocations: 98.42 kB / 410.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.849e-05/0.3001, allocations: 43.48 kB / 410.8 MB, free: 23.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3002, allocations: 4 kB / 410.8 MB, free: 23.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.3002, allocations: 38.5 kB / 410.9 MB, free: 23.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3002, allocations: 0 / 410.9 MB, free: 23.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002694/0.3005, allocations: 101.8 kB / 411 MB, free: 23.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.3005, allocations: 136.5 kB / 411.1 MB, free: 23.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3007, allocations: 148.7 kB / 411.3 MB, free: 23.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.3007, allocations: 25.7 kB / 411.3 MB, free: 23.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.3007, allocations: 92.14 kB / 411.4 MB, free: 23.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.3007, allocations: 12.05 kB / 411.4 MB, free: 23.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.3008, allocations: 25.72 kB / 411.4 MB, free: 23.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.3008, allocations: 322.8 kB / 411.7 MB, free: 22.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.107e-05/0.3009, allocations: 12 kB / 411.7 MB, free: 22.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.406e-05/0.3009, allocations: 45.14 kB / 411.8 MB, free: 22.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.541e-05/0.301, allocations: 73.02 kB / 411.9 MB, free: 22.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.301, allocations: 0 / 411.9 MB, free: 22.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001275/0.3012, allocations: 89.45 kB / 411.9 MB, free: 22.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3012, allocations: 6.812 kB / 411.9 MB, free: 22.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3012, allocations: 0 / 411.9 MB, free: 22.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3012, allocations: 4 kB / 412 MB, free: 22.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/0.3013, allocations: 11.98 kB / 412 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3013, allocations: 4 kB / 412 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.258e-05/0.3014, allocations: 4 kB / 412 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3014, allocations: 0 / 412 MB, free: 22.55 MB / 298.7 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 6.065e-05/0.3014, allocations: 135.4 kB / 412.1 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/0.3015, allocations: 69.47 kB / 412.2 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.3016, allocations: 11.88 kB / 412.2 MB, free: 22.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3016, allocations: 4 kB / 412.2 MB, free: 22.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3016, allocations: 0 / 412.2 MB, free: 22.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3016, allocations: 0 / 412.2 MB, free: 22.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.3017, allocations: 185.5 kB / 412.4 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3017, allocations: 4 kB / 412.4 MB, free: 22.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.909e-05/0.3018, allocations: 16.08 kB / 412.4 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3018, allocations: 4 kB / 412.4 MB, free: 22.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3018, allocations: 4.125 kB / 412.4 MB, free: 22.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3018, allocations: 0 / 412.4 MB, free: 22.06 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3018, allocations: 4 kB / 412.4 MB, free: 22.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.3022, allocations: 0.7693 MB / 413.2 MB, free: 21.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.3022, allocations: 96.94 kB / 413.3 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.3022, allocations: 4 kB / 413.3 MB, free: 21.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.3023, allocations: 7.938 kB / 413.3 MB, free: 21.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.3024, allocations: 11.86 kB / 413.3 MB, free: 21.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.3024, allocations: 4 kB / 413.3 MB, free: 21.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.534e-05/0.3024, allocations: 117.5 kB / 413.4 MB, free: 20.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.3024, allocations: 0 / 413.4 MB, free: 20.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003197/0.3028, allocations: 15.94 kB / 413.4 MB, free: 20.95 MB / 298.7 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 8.936e-05/0.3029, allocations: 95.25 kB / 413.5 MB, free: 20.85 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.303, allocations: 39.92 kB / 413.6 MB, free: 20.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.303, allocations: 0 / 413.6 MB, free: 20.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.3031, allocations: 12.36 kB / 413.6 MB, free: 20.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.3035, allocations: 43.83 kB / 413.6 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.3038, allocations: 342.6 kB / 413.9 MB, free: 20.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.304, allocations: 0.6965 MB / 414.6 MB, free: 19.65 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.945e-05/0.304, allocations: 8.656 kB / 414.6 MB, free: 19.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.3041, allocations: 15.44 kB / 414.7 MB, free: 19.62 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.3041, allocations: 0 / 414.7 MB, free: 19.62 MB / 298.7 MB Notification: Performance of Templates: time 0.00264/0.3067, allocations: 0.8067 MB / 415.5 MB, free: 18.84 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches