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.001376/0.001382, allocations: 110.3 kB / 17.75 MB, free: 5.355 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.001427/0.001427, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.355/1.355, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 39.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2482, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002406/0.2507, allocations: 1.484 MB / 402.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006441/0.2513, allocations: 461 kB / 403.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.2514, allocations: 0 / 403.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.2514, allocations: 7.922 kB / 403.3 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.336e-05/0.2515, allocations: 15.81 kB / 403.4 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.2517, allocations: 27.95 kB / 403.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.747e-05/0.2518, allocations: 75.72 kB / 403.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.2518, allocations: 7.984 kB / 403.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.252, allocations: 31.8 kB / 403.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.006e-05/0.252, allocations: 35.89 kB / 403.5 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.2521, allocations: 4 kB / 403.5 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.2521, allocations: 4 kB / 403.5 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.2521, allocations: 11.92 kB / 403.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.2522, allocations: 27.86 kB / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.2523, allocations: 59.8 kB / 403.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2523, allocations: 0 / 403.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2523, allocations: 0 / 403.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2523, allocations: 0 / 403.6 MB, free: 6.617 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.0006352/0.2529, allocations: 387.3 kB / 404 MB, free: 6.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.253, allocations: 8.031 kB / 404 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.253, allocations: 8.844 kB / 404 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2531, allocations: 176.2 kB / 404.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.2532, allocations: 8.359 kB / 404.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.2532, allocations: 7.938 kB / 404.2 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.2534, allocations: 88.16 kB / 404.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2535, allocations: 3.938 kB / 404.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.2535, allocations: 0 / 404.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2535, allocations: 0 / 404.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.2538, allocations: 67.88 kB / 404.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.254, allocations: 187.4 kB / 404.6 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.2542, allocations: 107.7 kB / 404.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.2544, allocations: 46.55 kB / 404.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.2544, allocations: 7.984 kB / 404.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.2545, allocations: 42.5 kB / 404.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.2545, allocations: 0 / 404.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005314/0.255, allocations: 137.5 kB / 404.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.2551, allocations: 107.2 kB / 405 MB, free: 5.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.2552, allocations: 130.1 kB / 405.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.2552, allocations: 25.7 kB / 405.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/0.2552, allocations: 92.14 kB / 405.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.2553, allocations: 7.812 kB / 405.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.2553, allocations: 21.7 kB / 405.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.2554, allocations: 314.8 kB / 405.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.2556, allocations: 35.97 kB / 405.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.2557, allocations: 46.55 kB / 405.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.256, allocations: 86.45 kB / 405.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.256, allocations: 0 / 405.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003327/0.2563, allocations: 113.4 kB / 405.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2564, allocations: 8 kB / 405.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2564, allocations: 4.094 kB / 405.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2564, allocations: 0 / 405.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.2565, allocations: 19.97 kB / 405.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2566, allocations: 0 / 405.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.2567, allocations: 11.98 kB / 405.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.2567, allocations: 4 kB / 405.9 MB, free: 4.066 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.854e-05/0.2568, allocations: 117.8 kB / 406 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.2568, allocations: 7.844 kB / 406 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.2568, allocations: 23.8 kB / 406 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2568, allocations: 0 / 406 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.2568, allocations: 8 kB / 406.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.2569, allocations: 81.02 kB / 406.1 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.2569, allocations: 4 kB / 406.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.257, allocations: 7.984 kB / 406.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.2571, allocations: 15.92 kB / 406.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004742/0.2576, allocations: 343.4 kB / 406.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004254/0.258, allocations: 433.3 kB / 406.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001511/0.2581, allocations: 40.09 kB / 407 MB, free: 2.949 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.642e-05/0.2582, allocations: 102.6 kB / 407.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of Backend: time 1.593e-06/0.2582, allocations: 0 / 407.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006173/0.2588, allocations: 122.3 kB / 407.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of SimCode: time 0.0004685/0.2593, allocations: 0.6054 MB / 407.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of Templates: time 0.002936/0.2623, allocations: 0.8642 MB / 408.6 MB, free: 1.211 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