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.001612/0.001612, allocations: 110.6 kB / 16.92 MB, free: 6.332 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.001772/0.001773, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.392/1.392, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001056, allocations: 48.3 kB / 300.7 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09295/0.09402, allocations: 49.44 MB / 350.1 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002815/0.09688, allocations: 1.492 MB / 351.6 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000723/0.09763, allocations: 456.3 kB / 352.1 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.09769, allocations: 0 / 352.1 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.09775, allocations: 3.938 kB / 352.1 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.976e-05/0.09785, allocations: 11.86 kB / 352.1 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.09801, allocations: 35.89 kB / 352.1 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.675e-05/0.09811, allocations: 59.8 kB / 352.2 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.09817, allocations: 7.984 kB / 352.2 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.09831, allocations: 39.8 kB / 352.2 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.398e-05/0.09839, allocations: 35.89 kB / 352.3 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.09841, allocations: 4 kB / 352.3 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.563e-05/0.09844, allocations: 4 kB / 352.3 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.09846, allocations: 11.92 kB / 352.3 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.09851, allocations: 23.86 kB / 352.3 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.451e-05/0.09861, allocations: 56.08 kB / 352.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.09862, allocations: 0 / 352.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09862, allocations: 0 / 352.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.09863, allocations: 4 kB / 352.4 MB, free: 2.094 MB / 286.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.000617/0.09926, allocations: 387.1 kB / 352.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.0993, allocations: 15.97 kB / 352.8 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.09934, allocations: 34.75 kB / 352.8 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.09938, allocations: 16.83 kB / 352.8 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.0995, allocations: 175.8 kB / 353 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-06/0.09952, allocations: 384 / 353 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.09953, allocations: 3.938 kB / 353 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.09979, allocations: 92.22 kB / 353.1 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.0998, allocations: 0 / 353.1 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.09982, allocations: 0 / 353.1 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.09983, allocations: 3.938 kB / 353.1 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.1001, allocations: 63.94 kB / 353.2 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.1003, allocations: 183.5 kB / 353.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.1006, allocations: 107.7 kB / 353.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.1007, allocations: 46.61 kB / 353.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.1008, allocations: 3.938 kB / 353.5 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.1008, allocations: 42.5 kB / 353.5 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1008, allocations: 0 / 353.5 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005323/0.1013, allocations: 141.4 kB / 353.7 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.1014, allocations: 102.8 kB / 353.8 MB, free: 476 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1015, allocations: 130.5 kB / 353.9 MB, free: 332 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1015, allocations: 33.64 kB / 353.9 MB, free: 292 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.1016, allocations: 92.12 kB / 354 MB, free: 196 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.1016, allocations: 23.67 kB / 354 MB, free: 172 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.1017, allocations: 17.72 kB / 354.1 MB, free: 148 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1018, allocations: 314.8 kB / 354.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.102, allocations: 31.97 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.1021, allocations: 54.53 kB / 354.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.1024, allocations: 78.52 kB / 354.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1024, allocations: 4 kB / 354.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000331/0.1028, allocations: 117.3 kB / 354.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1028, allocations: 8 kB / 354.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1028, allocations: 0 / 354.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1028, allocations: 0 / 354.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.103, allocations: 20.06 kB / 354.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.103, allocations: 4 kB / 354.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.9e-05/0.1031, allocations: 11.98 kB / 354.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1031, allocations: 4 kB / 354.7 MB, free: 15.48 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 8.308e-05/0.1032, allocations: 117.8 kB / 354.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.1032, allocations: 7.906 kB / 354.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.1033, allocations: 11.86 kB / 354.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1033, allocations: 0 / 354.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1033, allocations: 4 kB / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1033, allocations: 4 kB / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.1034, allocations: 177.6 kB / 355 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1035, allocations: 0 / 355 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.1036, allocations: 19.97 kB / 355 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1036, allocations: 0 / 355 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1036, allocations: 3.938 kB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1036, allocations: 4 kB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1036, allocations: 4 kB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.104, allocations: 142.7 kB / 355.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.104, allocations: 89 kB / 355.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.1041, allocations: 0 / 355.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.793e-05/0.1042, allocations: 11.98 kB / 355.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.1042, allocations: 12 kB / 355.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.1042, allocations: 0 / 355.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.114e-05/0.1043, allocations: 111.1 kB / 355.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1043, allocations: 0 / 355.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002026/0.1045, allocations: 12 kB / 355.4 MB, free: 14.65 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.0006121/0.1051, allocations: 0.6725 MB / 356.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003296/0.1055, allocations: 83.92 kB / 356.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1055, allocations: 0 / 356.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.1056, allocations: 35.91 kB / 356.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.1058, allocations: 8 kB / 356.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.1065, allocations: 222.7 kB / 356.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.1067, allocations: 0.6923 MB / 357.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.719e-05/0.1068, allocations: 8.188 kB / 357.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.1068, allocations: 19.42 kB / 357.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1068, allocations: 3.938 kB / 357.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.124, allocations: 1.683 MB / 358.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/7.308, allocations: 18.97 kB / 358.8 MB, free: 11.16 MB / 302.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