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.00116/0.00116, allocations: 114 kB / 17.06 MB, free: 6.086 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.001175/0.001175, allocations: 195 kB / 17.99 MB, free: 5.18 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.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 47.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2881, allocations: 49.45 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002659/0.2908, allocations: 1.491 MB / 401.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007823/0.2916, allocations: 445.5 kB / 402.1 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.2917, allocations: 4 kB / 402.1 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.2917, allocations: 7.938 kB / 402.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.2918, allocations: 23.78 kB / 402.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.292, allocations: 23.92 kB / 402.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.2921, allocations: 67.77 kB / 402.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.2922, allocations: 11.97 kB / 402.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.2923, allocations: 35.8 kB / 402.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.2924, allocations: 27.91 kB / 402.3 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.2924, allocations: 11.94 kB / 402.3 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.2925, allocations: 4 kB / 402.4 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.2925, allocations: 19.91 kB / 402.4 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.2925, allocations: 23.86 kB / 402.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.2927, allocations: 54.89 kB / 402.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2927, allocations: 0 / 402.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2927, allocations: 0 / 402.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.2927, allocations: 0 / 402.4 MB, free: 6.562 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.0006966/0.2934, allocations: 399.1 kB / 402.8 MB, free: 6.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2934, allocations: 12.03 kB / 402.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.2935, allocations: 30.75 kB / 402.9 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.2935, allocations: 8.891 kB / 402.9 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.2937, allocations: 180.2 kB / 403.1 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.2937, allocations: 8.125 kB / 403.1 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.2937, allocations: 0 / 403.1 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.294, allocations: 84.22 kB / 403.2 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.294, allocations: 4 kB / 403.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.294, allocations: 4 kB / 403.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.294, allocations: 0 / 403.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.2943, allocations: 59.86 kB / 403.2 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.2945, allocations: 191.5 kB / 403.4 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.2948, allocations: 99.69 kB / 403.5 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.2949, allocations: 54.61 kB / 403.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.295, allocations: 0 / 403.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.295, allocations: 38.5 kB / 403.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.295, allocations: 3.938 kB / 403.6 MB, free: 5.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005634/0.2956, allocations: 141.5 kB / 403.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.2956, allocations: 106.8 kB / 403.8 MB, free: 4.926 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.2958, allocations: 126.1 kB / 404 MB, free: 4.789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.2958, allocations: 25.7 kB / 404 MB, free: 4.758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.2959, allocations: 92.5 kB / 404.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.2959, allocations: 15.91 kB / 404.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.296, allocations: 17.72 kB / 404.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2961, allocations: 318.8 kB / 404.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.2962, allocations: 31.97 kB / 404.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.2964, allocations: 50.48 kB / 404.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.2967, allocations: 82.52 kB / 404.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2967, allocations: 3.938 kB / 404.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003173/0.297, allocations: 105.6 kB / 404.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.297, allocations: 4 kB / 404.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2971, allocations: 4 kB / 404.7 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2971, allocations: 3.984 kB / 404.7 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.2973, allocations: 23.86 kB / 404.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.2973, allocations: 0 / 404.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.2974, allocations: 27.97 kB / 404.8 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.2974, allocations: 4 kB / 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.796e-05/0.2975, allocations: 113.8 kB / 404.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.2975, allocations: 11.95 kB / 404.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.2976, allocations: 11.88 kB / 404.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2976, allocations: 0 / 404.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2976, allocations: 4 kB / 404.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2976, allocations: 0 / 404.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.2978, allocations: 177.6 kB / 405.1 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.2978, allocations: 12 kB / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.2979, allocations: 19.97 kB / 405.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2979, allocations: 0 / 405.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.2979, allocations: 0 / 405.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.2979, allocations: 4 kB / 405.1 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.2979, allocations: 4.031 kB / 405.1 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.2983, allocations: 150.6 kB / 405.3 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.2984, allocations: 81.11 kB / 405.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.2984, allocations: 7.938 kB / 405.3 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.936e-05/0.2985, allocations: 11.98 kB / 405.4 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.2985, allocations: 3.984 kB / 405.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.2986, allocations: 8 kB / 405.4 MB, free: 3.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.504e-05/0.2986, allocations: 102.4 kB / 405.5 MB, free: 3.133 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2986, allocations: 0 / 405.5 MB, free: 3.133 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001996/0.2988, allocations: 8 kB / 405.5 MB, free: 3.125 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.0006358/0.2995, allocations: 0.6842 MB / 406.2 MB, free: 2.406 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.2998, allocations: 67.88 kB / 406.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2998, allocations: 4.188 kB / 406.2 MB, free: 2.336 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.3, allocations: 43.91 kB / 406.3 MB, free: 2.293 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.3002, allocations: 7.984 kB / 406.3 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006264/0.3008, allocations: 218.7 kB / 406.5 MB, free: 2.027 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.301, allocations: 0.6844 MB / 407.2 MB, free: 1.316 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.218e-05/0.3011, allocations: 7.984 kB / 407.2 MB, free: 1.309 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.3012, allocations: 19.44 kB / 407.2 MB, free: 1.289 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3012, allocations: 0 / 407.2 MB, free: 1.289 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.321, allocations: 1.732 MB / 408.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/8.071, allocations: 10.92 kB / 408.9 MB, free: 15.62 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/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