Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001809/0.001809, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002048/0.002049, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 55.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2685, allocations: 50.54 MB / 408.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002946/0.2715, allocations: 1.516 MB / 410.3 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.2726, allocations: 0.4933 MB / 410.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.572e-05/0.2727, allocations: 0 / 410.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.849e-05/0.2727, allocations: 7.938 kB / 410.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.2729, allocations: 27.78 kB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.2731, allocations: 31.91 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.2733, allocations: 67.72 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.922e-05/0.2734, allocations: 8.172 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.2736, allocations: 43.84 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.887e-05/0.2737, allocations: 31.84 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.2737, allocations: 8 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.191e-05/0.2738, allocations: 15.98 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.2738, allocations: 7.984 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.2739, allocations: 31.8 kB / 411 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.274, allocations: 58.89 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.274, allocations: 0 / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2741, allocations: 4 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2741, allocations: 0 / 411.1 MB, free: 15.2 MB / 334.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.0008204/0.2749, allocations: 399 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.275, allocations: 8.031 kB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.935e-05/0.275, allocations: 34.75 kB / 411.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003683/0.2754, allocations: 36.86 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.2757, allocations: 172.3 kB / 411.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.2757, allocations: 4.375 kB / 411.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.2757, allocations: 4.312 kB / 411.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.276, allocations: 100.1 kB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.276, allocations: 0 / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.2761, allocations: 3.938 kB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2761, allocations: 4 kB / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.2763, allocations: 59.94 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.2766, allocations: 199.3 kB / 412.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.2769, allocations: 99.75 kB / 412.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.2771, allocations: 46.61 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.2771, allocations: 11.88 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.2771, allocations: 30.56 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.2771, allocations: 0 / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005337/0.2777, allocations: 141.5 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.2778, allocations: 110.8 kB / 412.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.2779, allocations: 125 kB / 412.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.2779, allocations: 29.7 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.278, allocations: 96.06 kB / 412.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.278, allocations: 11.91 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.2781, allocations: 21.7 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2782, allocations: 314.8 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2784, allocations: 35.95 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.2785, allocations: 46.55 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.2788, allocations: 86.45 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2788, allocations: 7.938 kB / 413.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003182/0.2791, allocations: 109.5 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.2792, allocations: 8 kB / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2792, allocations: 0 / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2792, allocations: 0 / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.2794, allocations: 20.08 kB / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2794, allocations: 3.984 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2795, allocations: 16 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.2795, allocations: 7.984 kB / 413.4 MB, free: 12.55 MB / 334.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 0.0001037/0.2796, allocations: 109.8 kB / 413.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.2796, allocations: 11.89 kB / 413.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.2797, allocations: 15.83 kB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2797, allocations: 0 / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2797, allocations: 4 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2797, allocations: 7.984 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.2799, allocations: 181.5 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2799, allocations: 0 / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.2801, allocations: 15.98 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2801, allocations: 3.938 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.2801, allocations: 7.922 kB / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2801, allocations: 4 kB / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2801, allocations: 0 / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.2805, allocations: 142.7 kB / 413.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.2805, allocations: 89 kB / 414 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.2806, allocations: 0 / 414 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.2807, allocations: 15.98 kB / 414 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.2807, allocations: 7.984 kB / 414 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.2807, allocations: 3.938 kB / 414.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.683e-05/0.2808, allocations: 102.4 kB / 414.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2809, allocations: 4 kB / 414.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002054/0.2811, allocations: 8 kB / 414.2 MB, free: 11.72 MB / 334.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.0006775/0.2817, allocations: 0.6727 MB / 414.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.2821, allocations: 79.86 kB / 414.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2821, allocations: 0 / 414.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.2822, allocations: 39.91 kB / 415 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.2824, allocations: 7.984 kB / 415 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.2846, allocations: 1.47 MB / 416.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.285, allocations: 0.6846 MB / 417.1 MB, free: 8.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.017e-05/0.2851, allocations: 7.984 kB / 417.1 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.36e-05/0.2851, allocations: 23.42 kB / 417.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2851, allocations: 0 / 417.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.3085, allocations: 1.743 MB / 418.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.371, allocations: 11.22 kB / 418.9 MB, free: 6.895 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches