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.001037/0.001037, allocations: 198.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.167/1.167, allocations: 227.2 MB / 245 MB, free: 7.559 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009209/0.000921, allocations: 104.7 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002065/0.0002066, allocations: 12 kB / 357.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1846, allocations: 51.47 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08178/0.2665, allocations: 77.02 MB / 486.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/0.2667, allocations: 63.97 kB / 486.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00474/0.2714, allocations: 1.672 MB / 488.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2714, allocations: 0 / 488.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.2714, allocations: 0 / 488.2 MB, free: 11.87 MB / 362.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.0003922/0.2718, allocations: 394.9 kB / 488.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.2719, allocations: 8.031 kB / 488.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.2722, allocations: 47.81 kB / 488.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.412e-05/0.2723, allocations: 167 kB / 488.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2723, allocations: 3.953 kB / 488.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.2723, allocations: 0 / 488.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.2725, allocations: 96.22 kB / 488.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.2725, allocations: 0 / 488.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.2726, allocations: 4 kB / 488.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2726, allocations: 0 / 488.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000247/0.2728, allocations: 79.88 kB / 488.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.273, allocations: 191.4 kB / 489.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.2732, allocations: 115.7 kB / 489.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.2732, allocations: 7.953 kB / 489.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.2733, allocations: 34.5 kB / 489.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2733, allocations: 0 / 489.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.000485/0.2738, allocations: 165.7 kB / 489.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.2738, allocations: 107.1 kB / 489.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.131e-05/0.2739, allocations: 114.8 kB / 489.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.2739, allocations: 29.69 kB / 489.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.274, allocations: 96.08 kB / 489.8 MB, free: 9.996 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.274, allocations: 7.812 kB / 489.8 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/0.274, allocations: 4 kB / 489.8 MB, free: 9.984 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.42e-05/0.2741, allocations: 318.8 kB / 490.1 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.2742, allocations: 39.97 kB / 490.1 MB, free: 9.625 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.2744, allocations: 62.48 kB / 490.2 MB, free: 9.555 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.2745, allocations: 39.97 kB / 490.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2745, allocations: 0 / 490.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003051/0.2748, allocations: 125.5 kB / 490.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2748, allocations: 11.95 kB / 490.4 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2748, allocations: 0 / 490.4 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.2749, allocations: 4.031 kB / 490.4 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.275, allocations: 32.06 kB / 490.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.275, allocations: 0 / 490.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.5e-05/0.2751, allocations: 15.98 kB / 490.4 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.2751, allocations: 11.98 kB / 490.4 MB, free: 9.312 MB / 362.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 6.677e-05/0.2752, allocations: 117.8 kB / 490.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.2752, allocations: 7.906 kB / 490.6 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.2753, allocations: 19.81 kB / 490.6 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2753, allocations: 0 / 490.6 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2753, allocations: 4 kB / 490.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2753, allocations: 0 / 490.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.2754, allocations: 173.6 kB / 490.8 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2754, allocations: 4 kB / 490.8 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.2755, allocations: 27.91 kB / 490.8 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2756, allocations: 4 kB / 490.8 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.2756, allocations: 0 / 490.8 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.2756, allocations: 11.94 kB / 490.8 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2756, allocations: 0 / 490.8 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.2759, allocations: 178.1 kB / 491 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.2759, allocations: 88.95 kB / 491.1 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.276, allocations: 8 kB / 491.1 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.442e-05/0.2761, allocations: 15.92 kB / 491.1 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.2761, allocations: 8 kB / 491.1 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.2761, allocations: 7.984 kB / 491.1 MB, free: 8.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.515e-05/0.2762, allocations: 98.08 kB / 491.2 MB, free: 8.441 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2762, allocations: 0 / 491.2 MB, free: 8.441 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001856/0.2764, allocations: 8 kB / 491.2 MB, free: 8.434 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 9.784e-05/0.2765, allocations: 107.2 kB / 491.3 MB, free: 8.316 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003015/0.2768, allocations: 91.92 kB / 491.4 MB, free: 8.227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2768, allocations: 0 / 491.4 MB, free: 8.227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.277, allocations: 43.91 kB / 491.4 MB, free: 8.184 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.386e-05/0.2771, allocations: 11.95 kB / 491.5 MB, free: 8.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.2775, allocations: 228.6 kB / 491.7 MB, free: 7.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.2777, allocations: 0.6926 MB / 492.4 MB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.592e-05/0.2778, allocations: 4 kB / 492.4 MB, free: 7.191 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.2778, allocations: 7.438 kB / 492.4 MB, free: 7.184 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2778, allocations: 0 / 492.4 MB, free: 7.184 MB / 362.7 MB Notification: Performance of Templates: time 0.001898/0.2797, allocations: 0.5033 MB / 492.9 MB, free: 6.688 MB / 362.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