Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.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.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 180.4 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.315/1.315, allocations: 223.2 MB / 240.3 MB, free: 10.11 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.0009283/0.0009283, allocations: 95.81 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003174, allocations: 8 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2635, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.103/0.3665, allocations: 76.22 MB / 477.7 MB, free: 4.262 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.3668, allocations: 67.97 kB / 477.8 MB, free: 4.195 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00489/0.3717, allocations: 1.582 MB / 479.4 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3717, allocations: 0 / 479.4 MB, free: 2.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.3717, allocations: 4 kB / 479.4 MB, free: 2.617 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005381/0.3723, allocations: 379.1 kB / 479.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.3723, allocations: 12.02 kB / 479.7 MB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.3724, allocations: 11.91 kB / 479.8 MB, free: 2.176 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.3726, allocations: 167 kB / 479.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3726, allocations: 0 / 479.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.3726, allocations: 0 / 479.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.3729, allocations: 100.2 kB / 480 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3729, allocations: 4 kB / 480 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3729, allocations: 3.953 kB / 480 MB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3729, allocations: 3.938 kB / 480 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.3732, allocations: 75.94 kB / 480.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.3734, allocations: 199.3 kB / 480.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.3737, allocations: 111.8 kB / 480.4 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.3737, allocations: 3.938 kB / 480.4 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.3738, allocations: 34.56 kB / 480.4 MB, free: 1.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3738, allocations: 0 / 480.4 MB, free: 1.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005345/0.3743, allocations: 165.8 kB / 480.6 MB, free: 1.172 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.3744, allocations: 106.8 kB / 480.7 MB, free: 1.043 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.3745, allocations: 117.2 kB / 480.8 MB, free: 0.918 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3745, allocations: 29.89 kB / 480.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.3746, allocations: 96.12 kB / 480.9 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.3746, allocations: 15.73 kB / 481 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.3747, allocations: 0 / 481 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3748, allocations: 322.8 kB / 481.3 MB, free: 456 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.3749, allocations: 39.97 kB / 481.3 MB, free: 416 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.3751, allocations: 54.55 kB / 481.4 MB, free: 352 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3752, allocations: 39.97 kB / 481.4 MB, free: 312 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3752, allocations: 0 / 481.4 MB, free: 312 kB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000319/0.3755, allocations: 129.5 kB / 481.5 MB, free: 176 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3756, allocations: 8 kB / 481.5 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3756, allocations: 96 / 481.5 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3756, allocations: 3.984 kB / 481.5 MB, free: 164 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.3758, allocations: 24.06 kB / 481.6 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3758, allocations: 4 kB / 481.6 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.3759, allocations: 19.94 kB / 481.6 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.3759, allocations: 4 kB / 481.6 MB, free: 112 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 0.0001137/0.376, allocations: 113.8 kB / 481.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.3761, allocations: 7.906 kB / 481.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.3761, allocations: 15.86 kB / 481.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3761, allocations: 7.938 kB / 481.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.3761, allocations: 4 kB / 481.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3761, allocations: 0 / 481.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.3763, allocations: 173.6 kB / 481.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3763, allocations: 4 kB / 481.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.3764, allocations: 27.97 kB / 481.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3764, allocations: 3.938 kB / 481.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3765, allocations: 0 / 481.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.273e-05/0.3765, allocations: 4 kB / 482 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3765, allocations: 4 kB / 482 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.3769, allocations: 182 kB / 482.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.3769, allocations: 85.02 kB / 482.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.377, allocations: 7.984 kB / 482.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.77e-05/0.3771, allocations: 15.98 kB / 482.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.3771, allocations: 7.953 kB / 482.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.3771, allocations: 7.984 kB / 482.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.169e-05/0.3772, allocations: 102.5 kB / 482.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3772, allocations: 0 / 482.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001932/0.3774, allocations: 12 kB / 482.4 MB, free: 15.23 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.0001221/0.3775, allocations: 99.19 kB / 482.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000328/0.3779, allocations: 87.88 kB / 482.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3779, allocations: 4.188 kB / 482.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.378, allocations: 51.89 kB / 482.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.3782, allocations: 3.125 kB / 482.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.3787, allocations: 220.6 kB / 482.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.379, allocations: 0.6926 MB / 483.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.862e-05/0.379, allocations: 0 / 483.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.3791, allocations: 15.42 kB / 483.5 MB, free: 14 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3791, allocations: 0 / 483.5 MB, free: 14 MB / 362.7 MB Notification: Performance of Templates: time 0.002281/0.3814, allocations: 0.4991 MB / 484 MB, free: 13.5 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches