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: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 111 kB / 17.06 MB, free: 5.969 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.002607/0.002607, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.609/2.609, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 47.94 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4989/0.5012, allocations: 49.43 MB / 400.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.004094/0.5053, allocations: 1.499 MB / 401.7 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.5066, allocations: 454.7 kB / 402.2 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.5067, allocations: 0 / 402.2 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.987e-05/0.5067, allocations: 3.938 kB / 402.2 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.5069, allocations: 19.84 kB / 402.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.5072, allocations: 31.89 kB / 402.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.5073, allocations: 67.72 kB / 402.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.989e-05/0.5074, allocations: 12 kB / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.5076, allocations: 27.86 kB / 402.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.5077, allocations: 35.89 kB / 402.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.5078, allocations: 4 kB / 402.4 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.922e-05/0.5078, allocations: 4 kB / 402.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.5078, allocations: 15.92 kB / 402.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.5079, allocations: 23.86 kB / 402.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.5081, allocations: 61.42 kB / 402.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.5081, allocations: 0 / 402.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5081, allocations: 3.938 kB / 402.5 MB, free: 6.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.5082, allocations: 4 kB / 402.5 MB, free: 6.539 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.0009257/0.5091, allocations: 391.2 kB / 402.9 MB, free: 6.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.5092, allocations: 8.031 kB / 402.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.006e-05/0.5092, allocations: 34.75 kB / 402.9 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.5093, allocations: 4.844 kB / 402.9 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.5095, allocations: 180.1 kB / 403.1 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.5095, allocations: 4.125 kB / 403.1 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.5095, allocations: 4 kB / 403.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/0.5099, allocations: 88.16 kB / 403.2 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5099, allocations: 0 / 403.2 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.51, allocations: 7.984 kB / 403.2 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.51, allocations: 0 / 403.2 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.5104, allocations: 59.94 kB / 403.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.5107, allocations: 187.5 kB / 403.4 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.5111, allocations: 103.7 kB / 403.5 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.5114, allocations: 50.55 kB / 403.6 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.5114, allocations: 3.984 kB / 403.6 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.357e-05/0.5115, allocations: 42.56 kB / 403.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.5115, allocations: 3.938 kB / 403.6 MB, free: 5.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0008059/0.5123, allocations: 133.4 kB / 403.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.738e-05/0.5124, allocations: 115.1 kB / 403.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.5126, allocations: 126.1 kB / 404 MB, free: 4.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.5126, allocations: 29.7 kB / 404 MB, free: 4.734 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.65e-05/0.5127, allocations: 96.11 kB / 404.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.5127, allocations: 7.906 kB / 404.1 MB, free: 4.629 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.5128, allocations: 21.7 kB / 404.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.513, allocations: 310.8 kB / 404.4 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.5132, allocations: 31.97 kB / 404.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.5134, allocations: 54.53 kB / 404.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.5137, allocations: 82.45 kB / 404.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.5137, allocations: 7.938 kB / 404.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003485/0.514, allocations: 105.5 kB / 404.7 MB, free: 3.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.5141, allocations: 7.984 kB / 404.7 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5141, allocations: 4 kB / 404.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5141, allocations: 96 / 404.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.5143, allocations: 19.98 kB / 404.7 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.5143, allocations: 0 / 404.7 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.975e-05/0.5144, allocations: 11.98 kB / 404.8 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.5144, allocations: 0 / 404.8 MB, free: 3.945 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 9.663e-05/0.5145, allocations: 125.7 kB / 404.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.5145, allocations: 7.906 kB / 404.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.5146, allocations: 15.81 kB / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.5146, allocations: 4 kB / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5146, allocations: 0 / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.5146, allocations: 4 kB / 404.9 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.5147, allocations: 173.6 kB / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.5148, allocations: 4 kB / 405.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.5149, allocations: 27.91 kB / 405.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5149, allocations: 4 kB / 405.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.5149, allocations: 0 / 405.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5149, allocations: 0 / 405.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5149, allocations: 4 kB / 405.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.5153, allocations: 146.6 kB / 405.3 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.5154, allocations: 81.02 kB / 405.3 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.5154, allocations: 7.938 kB / 405.3 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.759e-05/0.5155, allocations: 15.98 kB / 405.4 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.5156, allocations: 11.92 kB / 405.4 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.5156, allocations: 4 kB / 405.4 MB, free: 3.215 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.63e-05/0.5156, allocations: 98.22 kB / 405.5 MB, free: 3.121 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5156, allocations: 0 / 405.5 MB, free: 3.121 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.5159, allocations: 12 kB / 405.5 MB, free: 3.109 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.0006803/0.5165, allocations: 0.6764 MB / 406.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.5169, allocations: 75.88 kB / 406.2 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5169, allocations: 0 / 406.2 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.5171, allocations: 43.89 kB / 406.3 MB, free: 2.281 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.5173, allocations: 4 kB / 406.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006609/0.5179, allocations: 222.9 kB / 406.5 MB, free: 2.016 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.5182, allocations: 0.6883 MB / 407.2 MB, free: 1.301 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.251e-05/0.5183, allocations: 8.156 kB / 407.2 MB, free: 1.293 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.5183, allocations: 23.44 kB / 407.2 MB, free: 1.27 MB / 318.1 MB Notification: Performance of SimCode: time 7.62e-07/0.5183, allocations: 0 / 407.2 MB, free: 1.27 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.35/3.868, allocations: 1.735 MB / 409 MB, free: 15.6 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 28.38/32.25, allocations: 15.73 kB / 409 MB, free: 15.59 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine.fmu > 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