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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 114.9 kB / 17.74 MB, free: 5.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 188.5 kB / 18.67 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 51.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2999, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002642/0.3026, allocations: 1.486 MB / 402.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007252/0.3034, allocations: 457.1 kB / 403.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.925e-05/0.3034, allocations: 0 / 403.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.3035, allocations: 3.938 kB / 403.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.3036, allocations: 23.8 kB / 403.4 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.3037, allocations: 27.91 kB / 403.4 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.3039, allocations: 67.77 kB / 403.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.564e-05/0.3039, allocations: 7.984 kB / 403.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.3041, allocations: 39.78 kB / 403.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.588e-05/0.3042, allocations: 27.91 kB / 403.5 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.3042, allocations: 8 kB / 403.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.3042, allocations: 4 kB / 403.5 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.501e-05/0.3042, allocations: 19.92 kB / 403.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.857e-05/0.3043, allocations: 23.84 kB / 403.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.3044, allocations: 55.81 kB / 403.6 MB, free: 6.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3044, allocations: 0 / 403.6 MB, free: 6.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3044, allocations: 0 / 403.6 MB, free: 6.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.3044, allocations: 0 / 403.6 MB, free: 6.629 MB / 318.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.0006412/0.3051, allocations: 384.3 kB / 404 MB, free: 6.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3051, allocations: 12.02 kB / 404 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.3052, allocations: 8.844 kB / 404 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.3053, allocations: 180.2 kB / 404.2 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3053, allocations: 4.375 kB / 404.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.3054, allocations: 7.938 kB / 404.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.3056, allocations: 88.22 kB / 404.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3056, allocations: 3.938 kB / 404.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3057, allocations: 4 kB / 404.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3057, allocations: 0 / 404.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.3059, allocations: 59.88 kB / 404.4 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.3061, allocations: 191.4 kB / 404.6 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.3064, allocations: 107.7 kB / 404.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.3065, allocations: 54.61 kB / 404.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.3065, allocations: 0 / 404.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.3066, allocations: 34.5 kB / 404.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.335e-06/0.3066, allocations: 0 / 404.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004922/0.3071, allocations: 145.6 kB / 404.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.3071, allocations: 102.8 kB / 405 MB, free: 5.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3073, allocations: 126.1 kB / 405.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3073, allocations: 25.7 kB / 405.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.3073, allocations: 92.14 kB / 405.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.3074, allocations: 16.08 kB / 405.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.3074, allocations: 17.72 kB / 405.3 MB, free: 4.742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3075, allocations: 322.8 kB / 405.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.3076, allocations: 27.97 kB / 405.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.3078, allocations: 50.48 kB / 405.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.308, allocations: 82.52 kB / 405.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.308, allocations: 0 / 405.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002873/0.3083, allocations: 117.4 kB / 405.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3083, allocations: 4 kB / 405.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3084, allocations: 0 / 405.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3084, allocations: 4 kB / 405.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.3085, allocations: 23.91 kB / 405.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3085, allocations: 0 / 405.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.286e-05/0.3086, allocations: 15.98 kB / 405.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3087, allocations: 4.094 kB / 405.9 MB, free: 4.07 MB / 318.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.107e-05/0.3087, allocations: 117.7 kB / 406 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.3088, allocations: 11.91 kB / 406 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.3088, allocations: 15.86 kB / 406 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3088, allocations: 0 / 406 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3088, allocations: 0 / 406 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3088, allocations: 0 / 406 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.309, allocations: 177.6 kB / 406.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.309, allocations: 0 / 406.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.3091, allocations: 23.97 kB / 406.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3091, allocations: 0 / 406.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.3091, allocations: 4 kB / 406.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3091, allocations: 0 / 406.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3091, allocations: 3.938 kB / 406.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.3094, allocations: 154.6 kB / 406.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.3095, allocations: 89 kB / 406.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.3095, allocations: 4 kB / 406.5 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.215e-05/0.3096, allocations: 15.92 kB / 406.5 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.3097, allocations: 4 kB / 406.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.3097, allocations: 3.984 kB / 406.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.628e-05/0.3098, allocations: 110.8 kB / 406.6 MB, free: 3.246 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3098, allocations: 0 / 406.6 MB, free: 3.246 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001908/0.31, allocations: 8 kB / 406.6 MB, free: 3.238 MB / 318.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.0001047/0.3101, allocations: 99.66 kB / 406.7 MB, free: 3.133 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003096/0.3104, allocations: 71.94 kB / 406.8 MB, free: 3.062 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3104, allocations: 8.188 kB / 406.8 MB, free: 3.055 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.3105, allocations: 39.89 kB / 406.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.3107, allocations: 11.94 kB / 406.9 MB, free: 3.004 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.3112, allocations: 218.7 kB / 407.1 MB, free: 2.754 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.3115, allocations: 0.6844 MB / 407.8 MB, free: 2.043 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.3115, allocations: 15.42 kB / 407.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3115, allocations: 0 / 407.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of Templates: time 0.002155/0.3137, allocations: 0.8835 MB / 408.7 MB, free: 1.145 MB / 318.1 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/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_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches