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.001257/0.001257, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.325/1.325, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0009429/0.0009427, allocations: 97.42 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 11.94 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3184, allocations: 50.41 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.4188, allocations: 77.1 MB / 478.6 MB, free: 3.363 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.4192, allocations: 79.89 kB / 478.7 MB, free: 3.285 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005748/0.4249, allocations: 2.121 MB / 480.8 MB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.218e-06/0.425, allocations: 0 / 480.8 MB, free: 1.176 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.425, allocations: 7.938 kB / 480.8 MB, free: 1.168 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.0004073/0.4254, allocations: 371 kB / 481.2 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4254, allocations: 8.031 kB / 481.2 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.4255, allocations: 11.86 kB / 481.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.4257, allocations: 193.7 kB / 481.4 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.4257, allocations: 7.938 kB / 481.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.4257, allocations: 8 kB / 481.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.426, allocations: 113.9 kB / 481.5 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.426, allocations: 4 kB / 481.5 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.4261, allocations: 3.953 kB / 481.5 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4261, allocations: 4 kB / 481.5 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.55e-05/0.4262, allocations: 27.98 kB / 481.5 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.4266, allocations: 282.6 kB / 481.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.4267, allocations: 71.78 kB / 481.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.4267, allocations: 3.984 kB / 481.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.4268, allocations: 42.52 kB / 481.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.4268, allocations: 0 / 481.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002601/0.427, allocations: 85.58 kB / 482 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.4271, allocations: 114.7 kB / 482.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.4272, allocations: 129.3 kB / 482.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.4273, allocations: 29.7 kB / 482.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.4273, allocations: 88.12 kB / 482.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.4273, allocations: 7.906 kB / 482.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/0.4273, allocations: 4 kB / 482.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4274, allocations: 316.1 kB / 482.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.4275, allocations: 12 kB / 482.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.406e-05/0.4276, allocations: 35.42 kB / 482.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.614e-05/0.4276, allocations: 12 kB / 482.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4276, allocations: 4 kB / 482.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001305/0.4278, allocations: 81.5 kB / 482.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.4278, allocations: 8 kB / 482.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4278, allocations: 0 / 482.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.4278, allocations: 0 / 482.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.049e-05/0.4279, allocations: 11.98 kB / 482.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.4279, allocations: 4 kB / 482.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.168e-05/0.428, allocations: 7.938 kB / 482.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.428, allocations: 128 / 482.9 MB, free: 14.84 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.961e-05/0.4281, allocations: 129.8 kB / 483 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/0.4282, allocations: 53.5 kB / 483 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.4282, allocations: 15.86 kB / 483.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4282, allocations: 0 / 483.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.4282, allocations: 0 / 483.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4282, allocations: 4 kB / 483.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.4284, allocations: 165.7 kB / 483.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4284, allocations: 0 / 483.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.155e-05/0.4285, allocations: 23.98 kB / 483.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4285, allocations: 0 / 483.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4285, allocations: 3.953 kB / 483.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4285, allocations: 0 / 483.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4285, allocations: 4 kB / 483.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.4287, allocations: 204.5 kB / 483.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.82e-05/0.4288, allocations: 93 kB / 483.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.4288, allocations: 0 / 483.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.4289, allocations: 7.984 kB / 483.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.4289, allocations: 8.078 kB / 483.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.4289, allocations: 0 / 483.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.957e-05/0.429, allocations: 114.5 kB / 483.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.429, allocations: 3.938 kB / 483.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000212/0.4292, allocations: 12 kB / 483.7 MB, free: 13.89 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.0001044/0.4294, allocations: 95.25 kB / 483.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.4295, allocations: 39.91 kB / 483.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4295, allocations: 4.25 kB / 483.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.4296, allocations: 7.984 kB / 483.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.4298, allocations: 31.97 kB / 483.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.4302, allocations: 198.8 kB / 484.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.4305, allocations: 0.6991 MB / 484.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.701e-05/0.4305, allocations: 4.188 kB / 484.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.4305, allocations: 11.44 kB / 484.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4305, allocations: 0 / 484.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of Templates: time 0.002521/0.4331, allocations: 0.5089 MB / 485.3 MB, free: 12.23 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/jenkins/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