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.001602/0.001602, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001936/0.001936, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2998, 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.002508/0.3024, allocations: 1.507 MB / 410.2 MB, free: 48 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007741/0.3032, allocations: 0.505 MB / 410.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.3032, allocations: 7.938 kB / 410.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.3033, allocations: 3.938 kB / 410.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.979e-05/0.3034, allocations: 11.86 kB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.3036, allocations: 35.89 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.3037, allocations: 75.66 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.024e-05/0.3038, allocations: 8.172 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.3039, allocations: 43.84 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.403e-05/0.304, allocations: 35.84 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.304, allocations: 4 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.743e-05/0.3041, allocations: 12 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.3041, allocations: 7.984 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.3042, allocations: 35.78 kB / 411 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.3043, allocations: 58.89 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3043, allocations: 0 / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3044, allocations: 0 / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.3044, allocations: 0 / 411.1 MB, free: 15.21 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.0006646/0.305, allocations: 403.1 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3051, allocations: 8.031 kB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.3051, allocations: 30.75 kB / 411.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000307/0.3054, allocations: 40.8 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.3057, allocations: 188.2 kB / 411.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3057, allocations: 384 / 411.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.3057, allocations: 4.375 kB / 411.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.306, allocations: 92.16 kB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.306, allocations: 0 / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.306, allocations: 0 / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.306, allocations: 0 / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.3063, allocations: 67.88 kB / 411.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.3065, allocations: 191.3 kB / 412.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.3067, allocations: 103.8 kB / 412.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.3069, allocations: 46.61 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.3069, allocations: 3.938 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.307, allocations: 38.48 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.307, allocations: 4 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005091/0.3075, allocations: 137.5 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.3075, allocations: 102.8 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/0.3076, allocations: 134.2 kB / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3077, allocations: 29.7 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.3077, allocations: 88.14 kB / 412.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.3077, allocations: 11.91 kB / 412.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.3078, allocations: 21.7 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3079, allocations: 314.8 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.308, allocations: 27.97 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.3082, allocations: 58.48 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.3084, allocations: 78.52 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3084, allocations: 7.938 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003102/0.3088, allocations: 113.5 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3088, allocations: 5.875 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3088, allocations: 4 kB / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3088, allocations: 0 / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.309, allocations: 28 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.309, allocations: 0 / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.194e-05/0.3091, allocations: 11.98 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.3091, allocations: 96 / 413.4 MB, free: 12.56 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 7.759e-05/0.3092, allocations: 113.8 kB / 413.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.3092, allocations: 15.88 kB / 413.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.3092, allocations: 15.83 kB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3092, allocations: 3.984 kB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3093, allocations: 4 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3093, allocations: 4 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.3094, allocations: 181.5 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3094, allocations: 7.938 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.3095, allocations: 19.98 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3095, allocations: 0 / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3096, allocations: 3.984 kB / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3096, allocations: 4 kB / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3096, allocations: 0 / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.3099, allocations: 146.7 kB / 413.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.31, allocations: 89 kB / 414 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.31, allocations: 0 / 414 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/0.3101, allocations: 15.98 kB / 414 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.3101, allocations: 7.984 kB / 414.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.3102, allocations: 4 kB / 414.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.487e-05/0.3102, allocations: 99.25 kB / 414.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3102, allocations: 0 / 414.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002085/0.3104, allocations: 16 kB / 414.2 MB, free: 11.71 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.0005745/0.311, allocations: 0.6725 MB / 414.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.3114, allocations: 79.86 kB / 414.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3114, allocations: 0 / 414.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.3115, allocations: 35.91 kB / 415 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.3117, allocations: 10.97 kB / 415 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.3135, allocations: 1.466 MB / 416.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.3137, allocations: 0.6846 MB / 417.1 MB, free: 8.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.606e-05/0.3138, allocations: 8 kB / 417.1 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.3138, allocations: 23.42 kB / 417.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3138, allocations: 0 / 417.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.3312, allocations: 1.746 MB / 418.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/7.654, allocations: 3.234 kB / 418.9 MB, free: 6.902 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.0.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