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.001264/0.001264, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001498/0.001498, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9101/0.9101, allocations: 173.4 MB / 200.5 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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 2.204e-06/2.204e-06, allocations: 0 / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/2.005e-05, allocations: 2.281 kB / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001985/0.002005, allocations: 1.462 MB / 319.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006484/0.002653, allocations: 422.9 kB / 320.3 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.0027, allocations: 0 / 320.3 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.149e-05/0.002742, allocations: 11.86 kB / 320.3 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.002855, allocations: 19.8 kB / 320.3 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.003044, allocations: 19.97 kB / 320.3 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.003155, allocations: 79.58 kB / 320.4 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.807e-05/0.003223, allocations: 15.91 kB / 320.4 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.003397, allocations: 43.84 kB / 320.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.003461, allocations: 31.91 kB / 320.5 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.003493, allocations: 7.984 kB / 320.5 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.003505, allocations: 4 kB / 320.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.003529, allocations: 7.984 kB / 320.5 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.003561, allocations: 19.94 kB / 320.5 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.003687, allocations: 59.78 kB / 320.6 MB, free: 4.168 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.00369, allocations: 0 / 320.6 MB, free: 4.168 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.003691, allocations: 0 / 320.6 MB, free: 4.168 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.003697, allocations: 0 / 320.6 MB, free: 4.168 MB / 282.7 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.0005668/0.004264, allocations: 326 kB / 320.9 MB, free: 3.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.004322, allocations: 8.922 kB / 320.9 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.004361, allocations: 30.75 kB / 321 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.004391, allocations: 4.938 kB / 321 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.0045, allocations: 117.1 kB / 321.1 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.004514, allocations: 4.375 kB / 321.1 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.004526, allocations: 384 / 321.1 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.004747, allocations: 92.09 kB / 321.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.004756, allocations: 8 kB / 321.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.004768, allocations: 0 / 321.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.004775, allocations: 0 / 321.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.004929, allocations: 59.88 kB / 321.2 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.005103, allocations: 154.5 kB / 321.4 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.005278, allocations: 103.8 kB / 321.5 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.00536, allocations: 46.61 kB / 321.5 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.005384, allocations: 7.938 kB / 321.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.005409, allocations: 34.55 kB / 321.6 MB, free: 3.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.00541, allocations: 0 / 321.6 MB, free: 3.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0007839/0.006194, allocations: 149.6 kB / 321.7 MB, free: 2.871 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.006253, allocations: 106.8 kB / 321.8 MB, free: 2.742 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.006348, allocations: 118.1 kB / 322 MB, free: 2.613 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.006364, allocations: 29.7 kB / 322 MB, free: 2.578 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.006409, allocations: 92.12 kB / 322.1 MB, free: 2.484 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.006449, allocations: 15.89 kB / 322.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.006485, allocations: 21.7 kB / 322.1 MB, free: 2.441 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.006593, allocations: 314.8 kB / 322.4 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/0.006674, allocations: 32.16 kB / 322.4 MB, free: 2.094 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.868e-05/0.006753, allocations: 54.52 kB / 322.5 MB, free: 2.031 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.006907, allocations: 86.45 kB / 322.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.006909, allocations: 4 kB / 322.6 MB, free: 1.934 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001847/0.007094, allocations: 113.4 kB / 322.7 MB, free: 1.816 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.007111, allocations: 11.94 kB / 322.7 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.007117, allocations: 0 / 322.7 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.007133, allocations: 0 / 322.7 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.999e-05/0.007233, allocations: 20.08 kB / 322.7 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.007242, allocations: 4 kB / 322.7 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.007288, allocations: 11.98 kB / 322.7 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.007297, allocations: 7.984 kB / 322.8 MB, free: 1.762 MB / 282.7 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.353e-05/0.007371, allocations: 113.8 kB / 322.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.007382, allocations: 15.89 kB / 322.9 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.007408, allocations: 7.969 kB / 322.9 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.007411, allocations: 4 kB / 322.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.007417, allocations: 0 / 322.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.00742, allocations: 0 / 322.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.178e-05/0.007512, allocations: 140.7 kB / 323 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.007513, allocations: 0 / 323 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-05/0.007564, allocations: 23.91 kB / 323.1 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007566, allocations: 0 / 323.1 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.00758, allocations: 12 kB / 323.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007581, allocations: 0 / 323.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007582, allocations: 0 / 323.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.007793, allocations: 146.7 kB / 323.2 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.007807, allocations: 15.83 kB / 323.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.007823, allocations: 3.984 kB / 323.2 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.934e-05/0.007862, allocations: 11.98 kB / 323.2 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.007914, allocations: 0 / 323.2 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.00792, allocations: 7.984 kB / 323.2 MB, free: 1.188 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.529e-05/0.007966, allocations: 99.27 kB / 323.3 MB, free: 1.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007966, allocations: 0 / 323.3 MB, free: 1.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001371/0.008103, allocations: 8 kB / 323.3 MB, free: 1.082 MB / 282.7 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.0004008/0.008504, allocations: 0.6765 MB / 324 MB, free: 380 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.0087, allocations: 75.86 kB / 324.1 MB, free: 304 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.008702, allocations: 4.188 kB / 324.1 MB, free: 300 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.051e-05/0.008773, allocations: 35.97 kB / 324.1 MB, free: 264 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.008898, allocations: 8 kB / 324.1 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.009348, allocations: 212.3 kB / 324.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.506e-05/0.009393, allocations: 71.78 kB / 324.4 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.296e-05/0.009426, allocations: 7.938 kB / 324.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.009477, allocations: 20.67 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.009478, allocations: 3.938 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.02718, allocations: 2.375 MB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.716/6.743, allocations: 11.17 kB / 326.8 MB, free: 13.61 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins/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: 8.72577154263854]