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.001574/0.001574, allocations: 106.3 kB / 17.74 MB, free: 5.352 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.001678/0.001678, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.446/1.446, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 51.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3025, allocations: 49.44 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002499/0.305, allocations: 1.5 MB / 402.9 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007047/0.3057, allocations: 453.1 kB / 403.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.3058, allocations: 0 / 403.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.3058, allocations: 3.938 kB / 403.4 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.324e-05/0.3059, allocations: 19.8 kB / 403.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.3061, allocations: 35.89 kB / 403.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.3062, allocations: 63.78 kB / 403.5 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.441e-05/0.3063, allocations: 4 kB / 403.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.3064, allocations: 39.78 kB / 403.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.694e-05/0.3065, allocations: 35.89 kB / 403.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.3065, allocations: 8 kB / 403.6 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.3066, allocations: 4 kB / 403.6 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.3066, allocations: 11.92 kB / 403.6 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.3066, allocations: 23.88 kB / 403.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.3067, allocations: 51.73 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3068, allocations: 0 / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3068, allocations: 4 kB / 403.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.3068, allocations: 0 / 403.6 MB, free: 6.641 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.0006655/0.3074, allocations: 395.1 kB / 404 MB, free: 6.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3075, allocations: 12.03 kB / 404 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.3075, allocations: 8.828 kB / 404.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.3077, allocations: 188.2 kB / 404.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.3077, allocations: 384 / 404.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.3077, allocations: 3.938 kB / 404.2 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.308, allocations: 88.22 kB / 404.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.308, allocations: 0 / 404.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.308, allocations: 11.98 kB / 404.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.308, allocations: 0 / 404.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.3083, allocations: 59.88 kB / 404.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.3085, allocations: 191.5 kB / 404.6 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.3088, allocations: 99.69 kB / 404.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.3089, allocations: 50.61 kB / 404.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.309, allocations: 0 / 404.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.309, allocations: 46.47 kB / 404.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.645e-06/0.309, allocations: 0 / 404.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005324/0.3095, allocations: 145.6 kB / 404.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.3096, allocations: 106.8 kB / 405 MB, free: 5.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.3097, allocations: 125.5 kB / 405.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3097, allocations: 33.69 kB / 405.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.3098, allocations: 84.14 kB / 405.3 MB, free: 4.773 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.3098, allocations: 15.91 kB / 405.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.3099, allocations: 21.89 kB / 405.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.31, allocations: 314.8 kB / 405.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.3101, allocations: 31.95 kB / 405.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.3103, allocations: 46.55 kB / 405.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.3105, allocations: 86.45 kB / 405.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3105, allocations: 0 / 405.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003108/0.3109, allocations: 117.5 kB / 405.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3109, allocations: 4 kB / 405.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3109, allocations: 4 kB / 405.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3109, allocations: 0 / 405.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.311, allocations: 15.98 kB / 405.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3111, allocations: 7.922 kB / 405.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.131e-05/0.3112, allocations: 11.95 kB / 405.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.3112, allocations: 8.078 kB / 405.9 MB, free: 4.062 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 7.329e-05/0.3113, allocations: 113.8 kB / 406 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.3113, allocations: 11.89 kB / 406.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.3113, allocations: 11.88 kB / 406.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3113, allocations: 0 / 406.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3113, allocations: 3.984 kB / 406.1 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.975e-05/0.3114, allocations: 85.05 kB / 406.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.3114, allocations: 0 / 406.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/0.3115, allocations: 19.92 kB / 406.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.3116, allocations: 11.94 kB / 406.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004346/0.312, allocations: 343.4 kB / 406.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003873/0.3124, allocations: 429.3 kB / 406.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001349/0.3126, allocations: 43.95 kB / 407 MB, free: 2.953 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.506e-05/0.3126, allocations: 95.27 kB / 407.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of Backend: time 2.2e-07/0.3126, allocations: 0 / 407.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005939/0.3132, allocations: 114.3 kB / 407.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005316/0.3138, allocations: 0.5978 MB / 407.8 MB, free: 2.098 MB / 318.1 MB Notification: Performance of Templates: time 0.003052/0.3168, allocations: 0.8794 MB / 408.7 MB, free: 1.219 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