Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 183.4 kB / 16.39 MB, free: 5.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008528/0.0008529, allocations: 88.8 kB / 291.5 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002834/0.0002834, allocations: 8 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2875, allocations: 50.4 MB / 401.5 MB, free: 32.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09375/0.3813, allocations: 77.09 MB / 478.6 MB, free: 3.438 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.3816, allocations: 83.95 kB / 478.7 MB, free: 3.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005641/0.3873, allocations: 2.125 MB / 480.8 MB, free: 1.238 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.3873, allocations: 7.922 kB / 480.8 MB, free: 1.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.3873, allocations: 4 kB / 480.8 MB, free: 1.227 MB / 346.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.0004113/0.3877, allocations: 370.9 kB / 481.2 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3878, allocations: 8.031 kB / 481.2 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.3878, allocations: 15.86 kB / 481.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.388, allocations: 189.5 kB / 481.4 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.388, allocations: 4 kB / 481.4 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.388, allocations: 0 / 481.4 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.3883, allocations: 117.8 kB / 481.5 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3883, allocations: 0 / 481.5 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3884, allocations: 7.953 kB / 481.5 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3884, allocations: 4 kB / 481.5 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.53e-05/0.3885, allocations: 27.92 kB / 481.5 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.3889, allocations: 278.6 kB / 481.8 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.389, allocations: 75.78 kB / 481.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.389, allocations: 0 / 481.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.3891, allocations: 42.45 kB / 481.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.204e-06/0.3891, allocations: 0 / 481.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002592/0.3893, allocations: 93.52 kB / 482 MB, free: 15.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.3894, allocations: 107.2 kB / 482.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3895, allocations: 129 kB / 482.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.3895, allocations: 29.7 kB / 482.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.3896, allocations: 88.12 kB / 482.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.3896, allocations: 7.906 kB / 482.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.3896, allocations: 0 / 482.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.3897, allocations: 316.1 kB / 482.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.281e-05/0.3898, allocations: 15.92 kB / 482.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-05/0.3898, allocations: 39.42 kB / 482.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.3899, allocations: 16 kB / 482.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3899, allocations: 0 / 482.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001261/0.39, allocations: 73.56 kB / 482.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.39, allocations: 8 kB / 482.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3901, allocations: 0 / 482.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3901, allocations: 0 / 482.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.3902, allocations: 19.92 kB / 482.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.3902, allocations: 0 / 482.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.3902, allocations: 7.938 kB / 482.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.3902, allocations: 4.125 kB / 482.9 MB, free: 14.9 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.444e-05/0.3903, allocations: 117.8 kB / 483 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.3904, allocations: 61.48 kB / 483 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.3904, allocations: 7.969 kB / 483 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3904, allocations: 7.969 kB / 483 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3905, allocations: 0 / 483 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3905, allocations: 4 kB / 483.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.3906, allocations: 165.7 kB / 483.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3906, allocations: 4.062 kB / 483.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.988e-05/0.3907, allocations: 19.98 kB / 483.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3907, allocations: 0 / 483.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3907, allocations: 7.953 kB / 483.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.3907, allocations: 4 kB / 483.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3907, allocations: 3.938 kB / 483.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.391, allocations: 208.5 kB / 483.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.391, allocations: 89 kB / 483.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.391, allocations: 4 kB / 483.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.705e-05/0.3911, allocations: 7.938 kB / 483.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.3912, allocations: 7.984 kB / 483.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.3912, allocations: 4 kB / 483.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.474e-05/0.3912, allocations: 106.2 kB / 483.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3912, allocations: 4 kB / 483.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002059/0.3915, allocations: 4 kB / 483.7 MB, free: 13.96 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001104/0.3916, allocations: 99.23 kB / 483.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.3917, allocations: 44.11 kB / 483.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3917, allocations: 0 / 483.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.623e-05/0.3918, allocations: 8 kB / 483.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.392, allocations: 31.84 kB / 483.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.3924, allocations: 202.9 kB / 484.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.3927, allocations: 0.6965 MB / 484.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.083e-05/0.3927, allocations: 192 / 484.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.3927, allocations: 11.44 kB / 484.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3927, allocations: 0 / 484.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of Templates: time 0.002355/0.3951, allocations: 0.5187 MB / 485.3 MB, free: 12.29 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches