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.001816/0.001816, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00123/0.00123, allocations: 105.1 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 51.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2673, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.00298/0.2703, allocations: 1.561 MB / 408.6 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007696/0.2711, allocations: 486.7 kB / 409.1 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.2712, allocations: 0 / 409.1 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.55e-05/0.2713, allocations: 3.938 kB / 409.1 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.2714, allocations: 15.84 kB / 409.1 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.2716, allocations: 27.98 kB / 409.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.2718, allocations: 67.7 kB / 409.2 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.563e-05/0.2718, allocations: 17.62 kB / 409.2 MB, free: 25.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.2721, allocations: 27.92 kB / 409.2 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.354e-05/0.2722, allocations: 31.89 kB / 409.3 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.2722, allocations: 7.938 kB / 409.3 MB, free: 25.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.488e-05/0.2723, allocations: 10.84 kB / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.2723, allocations: 7.984 kB / 409.3 MB, free: 25.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.2723, allocations: 23.86 kB / 409.3 MB, free: 25.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.2725, allocations: 59.8 kB / 409.4 MB, free: 25.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2725, allocations: 0 / 409.4 MB, free: 25.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2725, allocations: 3.938 kB / 409.4 MB, free: 25.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.2725, allocations: 0 / 409.4 MB, free: 25.48 MB / 298.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.0006269/0.2731, allocations: 396.7 kB / 409.8 MB, free: 25.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.2732, allocations: 11.97 kB / 409.8 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003366/0.2735, allocations: 32.81 kB / 409.8 MB, free: 25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.2737, allocations: 179 kB / 410 MB, free: 24.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2737, allocations: 384 / 410 MB, free: 24.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.2737, allocations: 4.375 kB / 410 MB, free: 24.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.2739, allocations: 92.53 kB / 410.1 MB, free: 24.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.274, allocations: 0 / 410.1 MB, free: 24.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.274, allocations: 3.938 kB / 410.1 MB, free: 24.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.274, allocations: 0 / 410.1 MB, free: 24.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.2742, allocations: 71.86 kB / 410.2 MB, free: 24.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.2744, allocations: 183.4 kB / 410.3 MB, free: 24.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.2747, allocations: 103.8 kB / 410.4 MB, free: 24.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.2748, allocations: 46.61 kB / 410.5 MB, free: 24.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.2748, allocations: 4 kB / 410.5 MB, free: 24.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.2749, allocations: 38.44 kB / 410.5 MB, free: 24.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.2749, allocations: 0 / 410.5 MB, free: 24.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005117/0.2754, allocations: 145.4 kB / 410.7 MB, free: 23.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.2754, allocations: 102.8 kB / 410.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.515e-05/0.2755, allocations: 126.5 kB / 410.9 MB, free: 23.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.2755, allocations: 29.7 kB / 410.9 MB, free: 23.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.2756, allocations: 96.12 kB / 411 MB, free: 23.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.2756, allocations: 11.81 kB / 411 MB, free: 23.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.2756, allocations: 13.72 kB / 411 MB, free: 23.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.2757, allocations: 322.8 kB / 411.4 MB, free: 23.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.2758, allocations: 31.91 kB / 411.4 MB, free: 23.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.276, allocations: 50.55 kB / 411.4 MB, free: 23.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.2762, allocations: 78.52 kB / 411.5 MB, free: 23.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2762, allocations: 4 kB / 411.5 MB, free: 23.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000291/0.2765, allocations: 101.6 kB / 411.6 MB, free: 22.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2765, allocations: 11.94 kB / 411.6 MB, free: 22.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2766, allocations: 0 / 411.6 MB, free: 22.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2766, allocations: 3.984 kB / 411.6 MB, free: 22.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.2767, allocations: 24.02 kB / 411.7 MB, free: 22.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2767, allocations: 8 kB / 411.7 MB, free: 22.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.899e-05/0.2768, allocations: 11.89 kB / 411.7 MB, free: 22.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.2768, allocations: 4 kB / 411.7 MB, free: 22.89 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.007e-05/0.2769, allocations: 127.2 kB / 411.8 MB, free: 22.76 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.2769, allocations: 7.938 kB / 411.8 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.277, allocations: 7.875 kB / 411.8 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.277, allocations: 7.938 kB / 411.8 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.277, allocations: 4.094 kB / 411.8 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.277, allocations: 7.984 kB / 411.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.2771, allocations: 177.5 kB / 412 MB, free: 22.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2771, allocations: 3.938 kB / 412 MB, free: 22.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.2772, allocations: 19.97 kB / 412 MB, free: 22.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2772, allocations: 3.938 kB / 412 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.2773, allocations: 4 kB / 412 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.2773, allocations: 3.938 kB / 412 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2773, allocations: 0 / 412 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.2779, allocations: 0.7309 MB / 412.8 MB, free: 21.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.2779, allocations: 89.02 kB / 412.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.2779, allocations: 0 / 412.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.254e-05/0.278, allocations: 11.98 kB / 412.9 MB, free: 21.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.2781, allocations: 11.98 kB / 412.9 MB, free: 21.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.2781, allocations: 0 / 412.9 MB, free: 21.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.478e-05/0.2782, allocations: 95.27 kB / 413 MB, free: 21.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2782, allocations: 0 / 413 MB, free: 21.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003058/0.2785, allocations: 19.94 kB / 413 MB, free: 21.42 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.452e-05/0.2786, allocations: 95.25 kB / 413.1 MB, free: 21.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.2789, allocations: 71.86 kB / 413.2 MB, free: 21.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2789, allocations: 0 / 413.2 MB, free: 21.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.279, allocations: 44.22 kB / 413.2 MB, free: 21.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.2792, allocations: 10.47 kB / 413.2 MB, free: 21.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.2798, allocations: 305.6 kB / 413.5 MB, free: 20.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.2799, allocations: 0.6926 MB / 414.2 MB, free: 20.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.293e-05/0.28, allocations: 4 kB / 414.2 MB, free: 20.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.28, allocations: 11.42 kB / 414.2 MB, free: 20.12 MB / 298.7 MB Notification: Performance of SimCode: time 4e-07/0.28, allocations: 0 / 414.2 MB, free: 20.12 MB / 298.7 MB Notification: Performance of Templates: time 0.002184/0.2822, allocations: 0.5356 MB / 414.8 MB, free: 19.59 MB / 298.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@2/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