Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00101/0.00101, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008696/0.0008697, allocations: 100.7 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.374e-05/2.378e-05, allocations: 4 kB / 343.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 51.48 MB / 395.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3254/0.4281, allocations: 77.16 MB / 472.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.4284, allocations: 78.16 kB / 472.4 MB, free: 14.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005388/0.4338, allocations: 2.214 MB / 474.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4338, allocations: 0 / 474.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.4338, allocations: 0 / 474.6 MB, free: 13.01 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.0002521/0.4341, allocations: 361.2 kB / 475 MB, free: 12.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.4341, allocations: 8.031 kB / 475 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.4342, allocations: 27.67 kB / 475 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.4344, allocations: 190.4 kB / 475.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.4344, allocations: 4 kB / 475.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.4344, allocations: 3.609 kB / 475.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.695e-05/0.4345, allocations: 20.09 kB / 475.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.4347, allocations: 103.2 kB / 475.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4347, allocations: 0 / 475.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.4347, allocations: 0 / 475.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4347, allocations: 4 kB / 475.3 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.435, allocations: 251.8 kB / 475.6 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.636e-05/0.435, allocations: 67.7 kB / 475.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.4351, allocations: 31.11 kB / 475.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.4351, allocations: 0 / 475.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.4351, allocations: 39.67 kB / 475.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4351, allocations: 4 kB / 475.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000144/0.4353, allocations: 59.52 kB / 475.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.4353, allocations: 102.8 kB / 475.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.4354, allocations: 122.1 kB / 476 MB, free: 11.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.4354, allocations: 33.64 kB / 476 MB, free: 11.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.4355, allocations: 96.53 kB / 476.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.4355, allocations: 0 / 476.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.4355, allocations: 0 / 476.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.636e-05/0.4356, allocations: 325.4 kB / 476.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.321e-05/0.4356, allocations: 4 kB / 476.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.776e-05/0.4356, allocations: 28.55 kB / 476.5 MB, free: 11.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.892e-05/0.4356, allocations: 8 kB / 476.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4356, allocations: 0 / 476.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.705e-05/0.4357, allocations: 61.02 kB / 476.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.4357, allocations: 7.938 kB / 476.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4357, allocations: 4 kB / 476.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.4357, allocations: 0 / 476.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/0.4358, allocations: 9.547 kB / 476.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4358, allocations: 7.25 kB / 476.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.906e-05/0.4359, allocations: 5.594 kB / 476.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.4359, allocations: 4 kB / 476.6 MB, free: 10.96 MB / 346.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 () * 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 3.717e-05/0.4359, allocations: 104.9 kB / 476.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.436, allocations: 52.42 kB / 476.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.436, allocations: 19.75 kB / 476.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4361, allocations: 0 / 476.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4361, allocations: 4 kB / 476.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4361, allocations: 4.062 kB / 476.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.4362, allocations: 146 kB / 476.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4362, allocations: 4 kB / 476.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-05/0.4363, allocations: 13.78 kB / 476.9 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4363, allocations: 0 / 476.9 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.4363, allocations: 1.594 kB / 476.9 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.4363, allocations: 4 kB / 476.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4363, allocations: 0 / 476.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.957e-05/0.4364, allocations: 191.4 kB / 477.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.4364, allocations: 96.09 kB / 477.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.4364, allocations: 0.75 kB / 477.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.4365, allocations: 4.75 kB / 477.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.4365, allocations: 1.5 kB / 477.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.4366, allocations: 8 kB / 477.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.306e-05/0.4366, allocations: 109.3 kB / 477.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4366, allocations: 0 / 477.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002216/0.4368, allocations: 8.734 kB / 477.3 MB, free: 10.17 MB / 346.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 () * 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 7.48e-05/0.4369, allocations: 96 kB / 477.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.88e-05/0.437, allocations: 21.38 kB / 477.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.437, allocations: 0 / 477.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.219e-05/0.437, allocations: 11.25 kB / 477.5 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.4372, allocations: 26.23 kB / 477.5 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001978/0.4375, allocations: 104 kB / 477.6 MB, free: 9.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.4376, allocations: 0.7014 MB / 478.3 MB, free: 9.199 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.083e-05/0.4376, allocations: 6.125 kB / 478.3 MB, free: 9.191 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.698e-05/0.4376, allocations: 11.44 kB / 478.3 MB, free: 9.18 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4376, allocations: 0 / 478.3 MB, free: 9.18 MB / 346.7 MB Notification: Performance of Templates: time 0.002007/0.4397, allocations: 495.3 kB / 478.8 MB, free: 8.918 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches