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.001494/0.001494, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001671/0.001671, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.84 kB / 307 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09612/0.09744, allocations: 50.54 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002711/0.1002, allocations: 1.495 MB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008602/0.1011, allocations: 0.4965 MB / 359.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.1012, allocations: 4 kB / 359.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.1012, allocations: 7.922 kB / 359.6 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.586e-05/0.1013, allocations: 15.8 kB / 359.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.1015, allocations: 39.88 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.1017, allocations: 75.72 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.1017, allocations: 16.16 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.1019, allocations: 39.84 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.286e-05/0.102, allocations: 35.83 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.102, allocations: 4 kB / 359.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.705e-05/0.1021, allocations: 12 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.1021, allocations: 7.984 kB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.1022, allocations: 27.81 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.1023, allocations: 64.06 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1023, allocations: 0 / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1023, allocations: 4 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1023, allocations: 0 / 359.9 MB, free: 11.67 MB / 302.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.0005846/0.1029, allocations: 391.1 kB / 360.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.103, allocations: 11.97 kB / 360.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.103, allocations: 34.73 kB / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003214/0.1033, allocations: 36.81 kB / 360.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.1035, allocations: 195.1 kB / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.1035, allocations: 384 / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.1035, allocations: 384 / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.1038, allocations: 92.16 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.1038, allocations: 0 / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1038, allocations: 0 / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1038, allocations: 7.938 kB / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.1041, allocations: 59.94 kB / 360.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.1043, allocations: 187.4 kB / 360.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.1046, allocations: 107.8 kB / 361 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.1047, allocations: 42.55 kB / 361.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1048, allocations: 7.938 kB / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.1048, allocations: 38.5 kB / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1048, allocations: 0 / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000537/0.1053, allocations: 145.8 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.1054, allocations: 102.8 kB / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.21e-05/0.1055, allocations: 129.8 kB / 361.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1055, allocations: 25.7 kB / 361.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.1056, allocations: 92.14 kB / 361.6 MB, free: 9.738 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.1056, allocations: 11.83 kB / 361.6 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.1056, allocations: 17.72 kB / 361.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.1057, allocations: 322.8 kB / 361.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.1059, allocations: 32 kB / 362 MB, free: 9.348 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.106, allocations: 54.48 kB / 362 MB, free: 9.285 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.1063, allocations: 78.52 kB / 362.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1063, allocations: 0 / 362.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003354/0.1067, allocations: 121.3 kB / 362.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1067, allocations: 8.094 kB / 362.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1067, allocations: 0 / 362.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1067, allocations: 4 kB / 362.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.1069, allocations: 19.97 kB / 362.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.1069, allocations: 0 / 362.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.107, allocations: 15.92 kB / 362.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.107, allocations: 0 / 362.3 MB, free: 9.027 MB / 302.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.609e-05/0.1071, allocations: 117.8 kB / 362.4 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.1071, allocations: 15.84 kB / 362.4 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.1072, allocations: 19.81 kB / 362.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1072, allocations: 0 / 362.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1072, allocations: 4 kB / 362.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1072, allocations: 0 / 362.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.1073, allocations: 177.6 kB / 362.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1073, allocations: 0 / 362.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.1075, allocations: 23.97 kB / 362.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1075, allocations: 4 kB / 362.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1075, allocations: 3.938 kB / 362.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1075, allocations: 4 kB / 362.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1075, allocations: 4.094 kB / 362.6 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.1078, allocations: 146.6 kB / 362.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.1079, allocations: 85 kB / 362.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.1079, allocations: 4 kB / 362.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.108, allocations: 15.92 kB / 362.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.1081, allocations: 4 kB / 362.9 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.1081, allocations: 7.984 kB / 362.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.511e-05/0.1082, allocations: 102 kB / 363 MB, free: 8.199 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1082, allocations: 0 / 363 MB, free: 8.199 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000209/0.1084, allocations: 12 kB / 363 MB, free: 8.188 MB / 302.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.0005683/0.109, allocations: 0.6726 MB / 363.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.1093, allocations: 75.86 kB / 363.7 MB, free: 7.406 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1093, allocations: 0 / 363.7 MB, free: 7.406 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.1095, allocations: 44.16 kB / 363.8 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.1097, allocations: 16.05 kB / 363.8 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.1116, allocations: 1.454 MB / 365.3 MB, free: 5.789 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.1119, allocations: 0.6846 MB / 365.9 MB, free: 5.078 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.331e-05/0.1119, allocations: 7.984 kB / 365.9 MB, free: 5.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.112, allocations: 15.44 kB / 366 MB, free: 5.059 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.112, allocations: 0 / 366 MB, free: 5.059 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.1288, allocations: 1.707 MB / 367.7 MB, free: 3.402 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.296/7.425, allocations: 15.08 kB / 367.7 MB, free: 3.391 MB / 302.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