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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 183.1 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 43.92 kB / 370.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3376, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002778/0.3404, allocations: 1.509 MB / 424.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008117/0.3412, allocations: 457.4 kB / 424.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.3412, allocations: 4 kB / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.3413, allocations: 3.938 kB / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.796e-05/0.3414, allocations: 23.73 kB / 424.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.3415, allocations: 27.91 kB / 424.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.3417, allocations: 75.7 kB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.573e-05/0.3417, allocations: 0 / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.3419, allocations: 31.86 kB / 424.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/0.342, allocations: 43.83 kB / 424.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.342, allocations: 4 kB / 424.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.342, allocations: 4 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.342, allocations: 7.984 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.3421, allocations: 27.86 kB / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.3422, allocations: 51.61 kB / 424.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3422, allocations: 0 / 424.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3422, allocations: 4 kB / 424.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.3422, allocations: 0 / 424.9 MB, free: 12.33 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.0007123/0.3429, allocations: 318.6 kB / 425.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.343, allocations: 8.031 kB / 425.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.009e-05/0.343, allocations: 34.75 kB / 425.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.3431, allocations: 8.891 kB / 425.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.3432, allocations: 126.3 kB / 425.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3432, allocations: 8.125 kB / 425.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.3432, allocations: 0 / 425.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.3435, allocations: 88.22 kB / 425.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3435, allocations: 3.938 kB / 425.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3435, allocations: 0 / 425.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.3435, allocations: 4 kB / 425.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.3438, allocations: 59.88 kB / 425.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.344, allocations: 162.5 kB / 425.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.3443, allocations: 99.69 kB / 425.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.3445, allocations: 50.59 kB / 425.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.3445, allocations: 7.984 kB / 425.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.3445, allocations: 34.5 kB / 425.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3445, allocations: 0 / 425.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005329/0.3451, allocations: 145.5 kB / 426 MB, free: 11.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.3451, allocations: 102.8 kB / 426.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.3453, allocations: 133.8 kB / 426.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.3453, allocations: 25.7 kB / 426.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.3453, allocations: 92.52 kB / 426.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.3454, allocations: 11.91 kB / 426.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.3454, allocations: 17.7 kB / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3456, allocations: 322.8 kB / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.3457, allocations: 27.97 kB / 426.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.3459, allocations: 58.53 kB / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.3461, allocations: 82.39 kB / 426.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.3461, allocations: 7.938 kB / 426.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003172/0.3464, allocations: 113.6 kB / 427 MB, free: 9.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3465, allocations: 4 kB / 427 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3465, allocations: 0 / 427 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3465, allocations: 0 / 427 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.3466, allocations: 19.97 kB / 427 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3467, allocations: 7.938 kB / 427 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.3468, allocations: 23.97 kB / 427 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3468, allocations: 0 / 427 MB, free: 9.906 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.0001097/0.3469, allocations: 117.8 kB / 427.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.3469, allocations: 7.953 kB / 427.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.3469, allocations: 7.969 kB / 427.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.3469, allocations: 7.984 kB / 427.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3469, allocations: 0 / 427.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3469, allocations: 0 / 427.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.3471, allocations: 156.6 kB / 427.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3471, allocations: 0 / 427.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.3472, allocations: 15.98 kB / 427.3 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3472, allocations: 0 / 427.3 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3472, allocations: 7.984 kB / 427.4 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3472, allocations: 0 / 427.4 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3472, allocations: 0 / 427.4 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.3476, allocations: 154.6 kB / 427.5 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.3476, allocations: 0 / 427.5 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.3476, allocations: 4 kB / 427.5 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.32e-05/0.3477, allocations: 7.984 kB / 427.5 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.3478, allocations: 11.98 kB / 427.5 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.3478, allocations: 4 kB / 427.5 MB, free: 9.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.961e-05/0.3479, allocations: 99.27 kB / 427.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3479, allocations: 0 / 427.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001978/0.3481, allocations: 8 kB / 427.6 MB, free: 9.227 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.0006986/0.3488, allocations: 0.6764 MB / 428.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003273/0.3491, allocations: 75.98 kB / 428.4 MB, free: 8.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3491, allocations: 4.062 kB / 428.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.3492, allocations: 35.97 kB / 428.4 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.3494, allocations: 0 / 428.4 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007007/0.3501, allocations: 230.9 kB / 428.7 MB, free: 8.133 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.3505, allocations: 0.6922 MB / 429.3 MB, free: 7.414 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.965e-05/0.3505, allocations: 4 kB / 429.3 MB, free: 7.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.3506, allocations: 23.42 kB / 429.4 MB, free: 7.387 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3506, allocations: 0 / 429.4 MB, free: 7.387 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03168/0.3823, allocations: 1.841 MB / 431.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.26, allocations: 7.938 kB / 431.2 MB, free: 5.664 MB / 334.1 MB " [Timeout remaining time 649] (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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.162851825996768]