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.000952/0.000952, allocations: 175.8 kB / 17.4 MB, free: 4.418 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.562/1.562, allocations: 223.3 MB / 241.4 MB, free: 11.71 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.001045/0.001045, allocations: 98.16 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003933, allocations: 11.94 kB / 352.3 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2912, allocations: 50.4 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.4046, allocations: 77.13 MB / 479.9 MB, free: 3.195 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/0.405, allocations: 75.95 kB / 479.9 MB, free: 3.121 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008653/0.4137, allocations: 2.132 MB / 482.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.081e-06/0.4137, allocations: 0 / 482.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.4137, allocations: 3.938 kB / 482.1 MB, free: 0.9883 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.0004659/0.4142, allocations: 379.2 kB / 482.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.4143, allocations: 12.03 kB / 482.5 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.4143, allocations: 12.78 kB / 482.5 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.4146, allocations: 192.2 kB / 482.7 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4146, allocations: 4.375 kB / 482.7 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.4146, allocations: 4.375 kB / 482.7 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.415, allocations: 122.4 kB / 482.8 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.415, allocations: 192 / 482.8 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.415, allocations: 3.938 kB / 482.8 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.415, allocations: 0 / 482.8 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.4151, allocations: 27.92 kB / 482.8 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.4156, allocations: 278.7 kB / 483.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.4157, allocations: 67.73 kB / 483.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.026e-05/0.4158, allocations: 42.56 kB / 483.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.4158, allocations: 0 / 483.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.4158, allocations: 47.81 kB / 483.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.324e-06/0.4158, allocations: 0 / 483.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002596/0.4161, allocations: 93.64 kB / 483.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.4162, allocations: 106.8 kB / 483.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.4163, allocations: 144.9 kB / 483.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.4163, allocations: 25.7 kB / 483.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.4164, allocations: 92.12 kB / 483.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.4164, allocations: 192 / 483.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.4164, allocations: 8 kB / 483.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4165, allocations: 314.8 kB / 484 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.101e-05/0.4166, allocations: 12 kB / 484 MB, free: 14.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.825e-05/0.4166, allocations: 35.42 kB / 484.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.515e-05/0.4167, allocations: 55.36 kB / 484.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4168, allocations: 0 / 484.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001352/0.4169, allocations: 81.45 kB / 484.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4169, allocations: 4 kB / 484.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.4169, allocations: 0 / 484.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.4169, allocations: 4 kB / 484.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.4e-05/0.417, allocations: 11.94 kB / 484.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.417, allocations: 0 / 484.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.183e-05/0.4171, allocations: 11.92 kB / 484.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.4171, allocations: 4 kB / 484.2 MB, free: 14.54 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 7.455e-05/0.4172, allocations: 121.9 kB / 484.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.211e-05/0.4173, allocations: 53.53 kB / 484.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.4173, allocations: 11.88 kB / 484.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4173, allocations: 0 / 484.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4173, allocations: 4 kB / 484.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4173, allocations: 0 / 484.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.4175, allocations: 177.6 kB / 484.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.4175, allocations: 7.938 kB / 484.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.4176, allocations: 8.062 kB / 484.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4176, allocations: 4 kB / 484.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.4176, allocations: 8 kB / 484.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4176, allocations: 0 / 484.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4176, allocations: 3.984 kB / 484.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.4178, allocations: 185 kB / 484.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.4179, allocations: 93 kB / 484.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.4179, allocations: 4 kB / 484.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.521e-05/0.418, allocations: 7.938 kB / 484.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.418, allocations: 0 / 484.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.418, allocations: 0 / 484.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.621e-05/0.4181, allocations: 111.2 kB / 485 MB, free: 13.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4181, allocations: 0 / 485 MB, free: 13.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002119/0.4183, allocations: 8 kB / 485 MB, free: 13.64 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.000106/0.4184, allocations: 99.25 kB / 485.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.4186, allocations: 39.91 kB / 485.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4186, allocations: 0 / 485.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.4186, allocations: 8.25 kB / 485.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.419, allocations: 38.7 kB / 485.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.4193, allocations: 198.5 kB / 485.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.4196, allocations: 0.6967 MB / 486.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.274e-05/0.4197, allocations: 4 kB / 486.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.4197, allocations: 11.44 kB / 486.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4197, allocations: 0 / 486.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of Templates: time 0.002418/0.4221, allocations: 0.5227 MB / 486.6 MB, free: 11.96 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/jenkins1/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