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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001668/0.001668, allocations: 112.5 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00209/0.002089, allocations: 200 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2747, allocations: 50.55 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002839/0.2776, allocations: 1.493 MB / 411.4 MB, free: 64 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009886/0.2786, allocations: 0.505 MB / 411.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/0.2787, allocations: 0 / 411.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.757e-05/0.2787, allocations: 7.875 kB / 411.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.2789, allocations: 15.86 kB / 411.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.2791, allocations: 39.89 kB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.2793, allocations: 71.66 kB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.2794, allocations: 8.172 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.2796, allocations: 47.83 kB / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.763e-05/0.2796, allocations: 31.84 kB / 412.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.2797, allocations: 4 kB / 412.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-05/0.2798, allocations: 12 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.2798, allocations: 11.97 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.2798, allocations: 35.8 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.28, allocations: 59.8 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.28, allocations: 4 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.28, allocations: 0 / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.28, allocations: 0 / 412.3 MB, free: 15.21 MB / 334.1 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.0006741/0.2807, allocations: 388.2 kB / 412.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.2808, allocations: 8.031 kB / 412.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003458/0.2811, allocations: 40.81 kB / 412.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.2814, allocations: 184.2 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.2814, allocations: 384 / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.2814, allocations: 4.375 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.2817, allocations: 92.28 kB / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2817, allocations: 4 kB / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2817, allocations: 0 / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2817, allocations: 0 / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.282, allocations: 67.86 kB / 413 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002215/0.2822, allocations: 183.5 kB / 413.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.2825, allocations: 103.8 kB / 413.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.2827, allocations: 46.61 kB / 413.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.2827, allocations: 7.984 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.2827, allocations: 38.5 kB / 413.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2827, allocations: 0 / 413.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005446/0.2833, allocations: 149.6 kB / 413.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.2834, allocations: 102.8 kB / 413.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2835, allocations: 128.6 kB / 413.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2835, allocations: 29.7 kB / 413.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.2836, allocations: 92.12 kB / 413.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.2836, allocations: 11.81 kB / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.2836, allocations: 25.89 kB / 413.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.2838, allocations: 314.8 kB / 414.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.2839, allocations: 27.97 kB / 414.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.2841, allocations: 50.53 kB / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.2843, allocations: 86.45 kB / 414.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.2844, allocations: 4 kB / 414.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000336/0.2847, allocations: 113.4 kB / 414.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2847, allocations: 7.938 kB / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2847, allocations: 4 kB / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2848, allocations: 0 / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.2849, allocations: 15.98 kB / 414.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2849, allocations: 0 / 414.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.285, allocations: 15.98 kB / 414.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.285, allocations: 3.984 kB / 414.6 MB, free: 12.62 MB / 334.1 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 8.707e-05/0.2851, allocations: 121.8 kB / 414.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.2852, allocations: 15.84 kB / 414.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.2852, allocations: 15.83 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.2852, allocations: 0 / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2852, allocations: 0 / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.2852, allocations: 4 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.2854, allocations: 177.6 kB / 414.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.2854, allocations: 7.938 kB / 414.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.2855, allocations: 27.92 kB / 414.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2856, allocations: 0 / 414.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2856, allocations: 3.984 kB / 414.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.2856, allocations: 4 kB / 414.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.2856, allocations: 96 / 414.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.2859, allocations: 146.6 kB / 415.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.286, allocations: 92.95 kB / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.286, allocations: 0 / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.791e-05/0.2861, allocations: 11.98 kB / 415.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.2862, allocations: 7.984 kB / 415.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.2862, allocations: 0 / 415.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.602e-05/0.2863, allocations: 102.4 kB / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2863, allocations: 4 kB / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002047/0.2865, allocations: 12 kB / 415.3 MB, free: 11.77 MB / 334.1 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 0.000106/0.2866, allocations: 95.23 kB / 415.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.287, allocations: 71.88 kB / 415.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.287, allocations: 4.188 kB / 415.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.2871, allocations: 39.91 kB / 415.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.2873, allocations: 11.92 kB / 415.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.2878, allocations: 206.9 kB / 415.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.2881, allocations: 0.6924 MB / 416.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.2881, allocations: 23.36 kB / 416.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of SimCode: time 1.664e-06/0.2881, allocations: 0 / 416.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of Templates: time 0.002254/0.2904, allocations: 0.9001 MB / 417.3 MB, free: 9.664 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches