Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002195/0.002195, allocations: 197.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.603/1.603, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000882/0.0008821, allocations: 101.2 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002754/0.0002757, allocations: 8 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2928, allocations: 51.28 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.4008, allocations: 77.84 MB / 487.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.4011, allocations: 79.95 kB / 487.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006507/0.4076, allocations: 2.224 MB / 489.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4077, allocations: 0.7188 kB / 489.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.4077, 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.0004406/0.4082, allocations: 390.9 kB / 489.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4082, allocations: 8.031 kB / 489.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.4084, allocations: 16.84 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.4086, allocations: 194.4 kB / 490.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.4086, allocations: 384 / 490.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.4087, allocations: 8.312 kB / 490.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.409, allocations: 122.4 kB / 490.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.409, allocations: 192 / 490.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.409, allocations: 7.922 kB / 490.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.409, allocations: 0 / 490.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.173e-05/0.4091, allocations: 35.86 kB / 490.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.4096, allocations: 274.7 kB / 490.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.4097, allocations: 75.72 kB / 490.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.473e-05/0.4098, allocations: 39.84 kB / 490.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.4098, allocations: 11.98 kB / 490.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.4099, allocations: 34.56 kB / 490.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4099, allocations: 0 / 490.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.000354/0.4102, allocations: 85.52 kB / 490.8 MB, free: 9.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.747e-05/0.4103, allocations: 119.1 kB / 490.9 MB, free: 9.766 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.4105, allocations: 137.8 kB / 491 MB, free: 9.621 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.4105, allocations: 25.7 kB / 491.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.4106, allocations: 88.14 kB / 491.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.4106, allocations: 4 kB / 491.2 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.4106, allocations: 0 / 491.2 MB, free: 9.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4108, allocations: 314.8 kB / 491.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.38e-05/0.4108, allocations: 15.98 kB / 491.5 MB, free: 9.164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.169e-05/0.4109, allocations: 35.44 kB / 491.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.411, allocations: 55.36 kB / 491.6 MB, free: 9.051 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.411, allocations: 0 / 491.6 MB, free: 9.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000149/0.4112, allocations: 77.45 kB / 491.7 MB, free: 8.969 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4112, allocations: 4 kB / 491.7 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4112, allocations: 4 kB / 491.7 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4112, allocations: 0 / 491.7 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.992e-05/0.4113, allocations: 20.05 kB / 491.7 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4114, allocations: 0 / 491.7 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.4114, allocations: 4 kB / 491.7 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.4114, allocations: 4 kB / 491.7 MB, free: 8.934 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 9.393e-05/0.4115, allocations: 125.8 kB / 491.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.849e-05/0.4116, allocations: 49.55 kB / 491.9 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.4117, allocations: 11.86 kB / 491.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4117, allocations: 8.062 kB / 491.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4117, allocations: 3.938 kB / 491.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4117, allocations: 0 / 491.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.4119, allocations: 177.5 kB / 492.1 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4119, allocations: 4 kB / 492.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.412, allocations: 15.98 kB / 492.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.412, allocations: 0 / 492.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.412, allocations: 4 kB / 492.1 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.412, allocations: 0 / 492.1 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.412, allocations: 0 / 492.1 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.4122, allocations: 185 kB / 492.3 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.4123, allocations: 93 kB / 492.3 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.4123, allocations: 7.938 kB / 492.4 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.4124, allocations: 8 kB / 492.4 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.4124, allocations: 3.984 kB / 492.4 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.4124, allocations: 0 / 492.4 MB, free: 8.141 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.551e-05/0.4125, allocations: 114.4 kB / 492.5 MB, free: 8.031 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4125, allocations: 0 / 492.5 MB, free: 8.031 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002181/0.4127, allocations: 4 kB / 492.5 MB, free: 8.027 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.0001287/0.4129, allocations: 103.2 kB / 492.6 MB, free: 7.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.413, allocations: 35.92 kB / 492.6 MB, free: 7.879 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.413, allocations: 0 / 492.6 MB, free: 7.879 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.4131, allocations: 15.98 kB / 492.6 MB, free: 7.863 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.4134, allocations: 27.91 kB / 492.7 MB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.4138, allocations: 203 kB / 492.9 MB, free: 7.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.4142, allocations: 0.6926 MB / 493.6 MB, free: 6.883 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.915e-05/0.4142, allocations: 15.81 kB / 493.6 MB, free: 6.867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.4143, allocations: 11.44 kB / 493.6 MB, free: 6.855 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4143, allocations: 4 kB / 493.6 MB, free: 6.852 MB / 362.7 MB Notification: Performance of Templates: time 0.002609/0.4169, allocations: 0.5218 MB / 494.1 MB, free: 6.34 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches