Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.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.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.661/1.661, allocations: 225.6 MB / 234.8 MB, free: 3.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009646/0.0009647, allocations: 94.23 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.302e-05/2.294e-05, allocations: 4 kB / 343.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.132, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3464/0.4785, allocations: 76.29 MB / 471.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/0.4787, allocations: 63.81 kB / 471.5 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004741/0.4835, allocations: 1.652 MB / 473.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4835, allocations: 0 / 473.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.4835, allocations: 0 / 473.2 MB, free: 13.82 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.0003431/0.4839, allocations: 372.8 kB / 473.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.4839, allocations: 13.62 kB / 473.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002596/0.4842, allocations: 39.98 kB / 473.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.644e-05/0.4843, allocations: 173.2 kB / 473.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.4843, allocations: 4 kB / 473.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.4843, allocations: 3.609 kB / 473.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.13e-05/0.4844, allocations: 28.3 kB / 473.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.171e-05/0.4845, allocations: 67.19 kB / 473.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4845, allocations: 0 / 473.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.4845, allocations: 0 / 473.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4845, allocations: 5.266 kB / 473.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.4847, allocations: 161.9 kB / 474 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.48e-05/0.4848, allocations: 66.06 kB / 474.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.4848, allocations: 30.44 kB / 474.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.4848, allocations: 8 kB / 474.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.4849, allocations: 34.52 kB / 474.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4849, allocations: 0 / 474.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001703/0.485, allocations: 69.5 kB / 474.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.4851, allocations: 110.2 kB / 474.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.885e-05/0.4852, allocations: 117.6 kB / 474.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.4852, allocations: 25.7 kB / 474.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.4852, allocations: 88.8 kB / 474.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.4852, allocations: 20.52 kB / 474.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.4852, allocations: 0 / 474.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.4853, allocations: 317.3 kB / 474.9 MB, free: 12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.741e-05/0.4853, allocations: 14.44 kB / 474.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/0.4854, allocations: 36.3 kB / 474.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.19e-05/0.4854, allocations: 9.391 kB / 474.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4854, allocations: 4 kB / 474.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000103/0.4855, allocations: 68.52 kB / 475 MB, free: 11.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.4855, allocations: 4 kB / 475 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4855, allocations: 7.953 kB / 475 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.4856, allocations: 0 / 475 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.4857, allocations: 26.28 kB / 475 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.4857, allocations: 0 / 475 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.233e-05/0.4858, allocations: 15.8 kB / 475.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.4858, allocations: 1.359 kB / 475.1 MB, free: 11.84 MB / 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 () * 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 4.616e-05/0.4859, allocations: 105 kB / 475.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.4859, allocations: 13.17 kB / 475.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.4859, allocations: 10.98 kB / 475.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.486, allocations: 7.953 kB / 475.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.486, allocations: 0 / 475.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.486, allocations: 0 / 475.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.818e-05/0.4861, allocations: 156.7 kB / 475.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4861, allocations: 1.594 kB / 475.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.4862, allocations: 28.97 kB / 475.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4862, allocations: 0 / 475.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.4862, allocations: 5.594 kB / 475.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4862, allocations: 4 kB / 475.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4862, allocations: 0 / 475.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.4864, allocations: 121 kB / 475.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.4864, allocations: 86.75 kB / 475.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.4864, allocations: 3.953 kB / 475.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.887e-05/0.4865, allocations: 19.09 kB / 475.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.4866, allocations: 14.55 kB / 475.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.4866, allocations: 8.594 kB / 475.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.083e-05/0.4866, allocations: 94.95 kB / 475.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4866, allocations: 0 / 475.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001885/0.4868, allocations: 19.94 kB / 475.8 MB, free: 11.14 MB / 346.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 () * 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.0001198/0.4869, allocations: 93.69 kB / 475.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.4871, allocations: 37.08 kB / 475.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4871, allocations: 0 / 475.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.132e-05/0.4871, allocations: 13.56 kB / 475.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.4873, allocations: 6.812 kB / 475.9 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.4877, allocations: 113.3 kB / 476 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.4878, allocations: 0.695 MB / 476.7 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.4879, allocations: 8.75 kB / 476.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/0.4879, allocations: 12.69 kB / 476.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4879, allocations: 0 / 476.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of Templates: time 0.002252/0.4902, allocations: 458 kB / 477.2 MB, free: 9.922 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches