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.001362/0.001362, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008868/0.0008871, allocations: 97.59 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002793/0.0002794, allocations: 8 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2937, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.4024, allocations: 77.83 MB / 487.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.4028, allocations: 79.89 kB / 487.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006309/0.4091, allocations: 2.224 MB / 489.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4092, allocations: 0 / 489.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.4092, allocations: 0 / 489.5 MB, free: 11.39 MB / 362.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.0004627/0.4097, allocations: 379.1 kB / 489.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.4097, allocations: 12.03 kB / 489.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.4099, allocations: 20.83 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.4101, allocations: 198.6 kB / 490.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4101, allocations: 4.375 kB / 490.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.4102, allocations: 8.312 kB / 490.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.4105, allocations: 118.4 kB / 490.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4105, allocations: 192 / 490.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.4105, allocations: 7.938 kB / 490.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4105, allocations: 0 / 490.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.895e-05/0.4106, allocations: 27.92 kB / 490.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.4111, allocations: 278.7 kB / 490.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.4112, allocations: 75.72 kB / 490.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.879e-05/0.4113, allocations: 35.92 kB / 490.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.4113, allocations: 7.938 kB / 490.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.4114, allocations: 38.55 kB / 490.7 MB, free: 10 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.4114, allocations: 0 / 490.7 MB, free: 10 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003017/0.4117, allocations: 89.86 kB / 490.8 MB, free: 9.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.4118, allocations: 110.8 kB / 490.9 MB, free: 9.773 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.4119, allocations: 141.8 kB / 491 MB, free: 9.625 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.4119, allocations: 25.7 kB / 491.1 MB, free: 9.594 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.412, allocations: 92.14 kB / 491.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.412, allocations: 0 / 491.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.412, allocations: 0 / 491.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4122, allocations: 318.9 kB / 491.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/0.4122, allocations: 12 kB / 491.5 MB, free: 9.168 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.249e-05/0.4123, allocations: 39.41 kB / 491.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.4124, allocations: 55.36 kB / 491.6 MB, free: 9.051 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4124, allocations: 0 / 491.6 MB, free: 9.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001641/0.4126, allocations: 77.45 kB / 491.6 MB, free: 8.969 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4126, allocations: 4.125 kB / 491.6 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.4126, allocations: 4 kB / 491.6 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4126, allocations: 4 kB / 491.7 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.107e-05/0.4127, allocations: 8 kB / 491.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4127, allocations: 3.938 kB / 491.7 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.4128, allocations: 11.98 kB / 491.7 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.4128, allocations: 7.938 kB / 491.7 MB, free: 8.926 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.875e-05/0.4129, allocations: 117.8 kB / 491.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.892e-05/0.413, allocations: 57.53 kB / 491.9 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.413, allocations: 11.88 kB / 491.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4131, allocations: 0 / 491.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4131, allocations: 7.938 kB / 491.9 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.4131, allocations: 0 / 491.9 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.4133, allocations: 181.5 kB / 492.1 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4133, allocations: 0 / 492.1 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.4134, allocations: 8 kB / 492.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4134, allocations: 0 / 492.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.4134, allocations: 3.984 kB / 492.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4134, allocations: 8.062 kB / 492.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4134, allocations: 0 / 492.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.4136, allocations: 185 kB / 492.3 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.4137, allocations: 89 kB / 492.3 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.853e-05/0.4137, allocations: 8 kB / 492.3 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.769e-05/0.4138, allocations: 0 / 492.3 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.4139, allocations: 4 kB / 492.3 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.4139, allocations: 4 kB / 492.4 MB, free: 8.145 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.461e-05/0.414, allocations: 114.2 kB / 492.5 MB, free: 8.035 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.414, allocations: 0 / 492.5 MB, free: 8.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002487/0.4142, allocations: 4 kB / 492.5 MB, free: 8.031 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.000122/0.4144, allocations: 99.25 kB / 492.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.4145, allocations: 39.91 kB / 492.6 MB, free: 7.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4145, allocations: 0 / 492.6 MB, free: 7.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.832e-05/0.4146, allocations: 12 kB / 492.6 MB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.4149, allocations: 32.39 kB / 492.6 MB, free: 7.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.4154, allocations: 206.5 kB / 492.8 MB, free: 7.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.4157, allocations: 0.6887 MB / 493.5 MB, free: 6.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.068e-05/0.4157, allocations: 15.69 kB / 493.6 MB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.4157, allocations: 7.438 kB / 493.6 MB, free: 6.863 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4157, allocations: 0 / 493.6 MB, free: 6.863 MB / 362.7 MB Notification: Performance of Templates: time 0.003119/0.4189, allocations: 0.5461 MB / 494.1 MB, free: 6.336 MB / 362.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/jenkins1/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