Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009032/0.0009032, allocations: 176.4 kB / 17.4 MB, free: 4.301 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.587/1.587, allocations: 223.3 MB / 241.4 MB, free: 11.7 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.0008576/0.0008574, allocations: 100.2 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.0004441, allocations: 8 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2963, allocations: 50.4 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09698/0.3933, allocations: 77.14 MB / 479.9 MB, free: 3.227 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.3936, allocations: 75.95 kB / 480 MB, free: 3.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005928/0.3996, allocations: 2.122 MB / 482.1 MB, free: 1.031 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.268e-06/0.3996, allocations: 3.938 kB / 482.1 MB, free: 1.027 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.3996, allocations: 7.938 kB / 482.1 MB, free: 1.02 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.00049/0.4001, allocations: 375.2 kB / 482.5 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4002, allocations: 8.031 kB / 482.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.4002, allocations: 8.844 kB / 482.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.4004, allocations: 195.3 kB / 482.7 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4005, allocations: 12.3 kB / 482.7 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.4005, allocations: 4.375 kB / 482.7 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.4008, allocations: 118.4 kB / 482.8 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4008, allocations: 192 / 482.8 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4008, allocations: 3.938 kB / 482.8 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4009, allocations: 4 kB / 482.8 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.012e-05/0.401, allocations: 27.92 kB / 482.8 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.4014, allocations: 282.7 kB / 483.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.4015, allocations: 67.73 kB / 483.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.808e-05/0.4016, allocations: 38.56 kB / 483.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.4016, allocations: 8 kB / 483.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.4017, allocations: 31.84 kB / 483.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.915e-06/0.4017, allocations: 0 / 483.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003069/0.402, allocations: 97.78 kB / 483.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.4021, allocations: 114.8 kB / 483.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.4022, allocations: 133.8 kB / 483.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.4023, allocations: 25.7 kB / 483.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.4023, allocations: 100.1 kB / 483.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.4023, allocations: 0 / 483.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.4024, allocations: 0 / 483.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4025, allocations: 322.8 kB / 484 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.161e-05/0.4025, allocations: 8 kB / 484 MB, free: 14.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.323e-05/0.4026, allocations: 39.42 kB / 484.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.302e-05/0.4027, allocations: 51.36 kB / 484.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4027, allocations: 0 / 484.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001434/0.4028, allocations: 81.45 kB / 484.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.4029, allocations: 4 kB / 484.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.4029, allocations: 8.125 kB / 484.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4029, allocations: 0 / 484.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.345e-05/0.403, allocations: 11.94 kB / 484.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.403, allocations: 0 / 484.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.4031, allocations: 11.92 kB / 484.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4031, allocations: 4 kB / 484.2 MB, free: 14.57 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.945e-05/0.4032, allocations: 117.8 kB / 484.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.645e-05/0.4033, allocations: 61.56 kB / 484.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.4033, allocations: 7.875 kB / 484.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.4033, allocations: 4 kB / 484.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4034, allocations: 0 / 484.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4034, allocations: 0 / 484.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.4035, allocations: 177.6 kB / 484.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4035, allocations: 0 / 484.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.003e-05/0.4036, allocations: 12 kB / 484.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4036, allocations: 3.938 kB / 484.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.4036, allocations: 4 kB / 484.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4036, allocations: 32 / 484.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4036, allocations: 4 kB / 484.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.4038, allocations: 189 kB / 484.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.4039, allocations: 93 kB / 484.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.4039, allocations: 4 kB / 484.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.404, allocations: 11.94 kB / 484.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.404, allocations: 0 / 484.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4041, allocations: 4.141 kB / 484.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.297e-05/0.4041, allocations: 109.8 kB / 485 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4041, allocations: 0 / 485 MB, free: 13.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.4044, allocations: 4 kB / 485 MB, free: 13.68 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.0001521/0.4045, allocations: 95.25 kB / 485.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.4047, allocations: 51.89 kB / 485.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4047, allocations: 0 / 485.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.4048, allocations: 8 kB / 485.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.4052, allocations: 27.89 kB / 485.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.4057, allocations: 207 kB / 485.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.4061, allocations: 0.6887 MB / 486.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.225e-05/0.4062, allocations: 11.98 kB / 486.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.4062, allocations: 7.438 kB / 486.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4062, allocations: 4 kB / 486.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of Templates: time 0.002722/0.409, allocations: 0.5231 MB / 486.6 MB, free: 11.99 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches