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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008768/0.0008768, allocations: 88.33 kB / 20.67 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000976/0.000976, allocations: 160.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9373/0.9373, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.573e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001664/0.00168, allocations: 1.494 MB / 326 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000576/0.002256, allocations: 470.8 kB / 326.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.002303, allocations: 4 kB / 326.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.00233, allocations: 7.938 kB / 326.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.728e-05/0.002408, allocations: 19.8 kB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.002588, allocations: 39.83 kB / 326.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.002691, allocations: 71.66 kB / 326.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.002729, allocations: 4.188 kB / 326.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.00289, allocations: 55.81 kB / 326.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.002939, allocations: 27.91 kB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.002954, allocations: 4 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.05e-05/0.002995, allocations: 15.94 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.003008, allocations: 11.97 kB / 326.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.003032, allocations: 27.92 kB / 326.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.003152, allocations: 59.8 kB / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.003155, allocations: 4 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.003157, allocations: 0 / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.00316, allocations: 0 / 326.8 MB, free: 13.57 MB / 298.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.0004113/0.003572, allocations: 314 kB / 327.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.003609, allocations: 15.98 kB / 327.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.65e-05/0.003635, allocations: 30.75 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.003801, allocations: 36.86 kB / 327.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.003945, allocations: 129.6 kB / 327.3 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.003952, allocations: 384 / 327.3 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.003962, allocations: 4.375 kB / 327.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.004125, allocations: 88.72 kB / 327.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.004132, allocations: 8.125 kB / 327.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.004142, allocations: 7.922 kB / 327.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.004146, allocations: 0 / 327.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.004281, allocations: 63.88 kB / 327.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.004408, allocations: 150.5 kB / 327.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.004548, allocations: 103.7 kB / 327.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.448e-05/0.004622, allocations: 54.61 kB / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.004636, allocations: 0 / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.004654, allocations: 34.56 kB / 327.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.004655, allocations: 0 / 327.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005507/0.005206, allocations: 149.6 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.005248, allocations: 102.8 kB / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/0.005318, allocations: 132.7 kB / 328.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.00533, allocations: 29.7 kB / 328.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/0.005358, allocations: 88.14 kB / 328.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.005386, allocations: 23.83 kB / 328.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.005413, allocations: 13.72 kB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.005486, allocations: 318.8 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.629e-05/0.005552, allocations: 32.16 kB / 328.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.84e-05/0.005621, allocations: 46.55 kB / 328.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.005757, allocations: 86.45 kB / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.00576, allocations: 8 kB / 328.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001633/0.005923, allocations: 109.5 kB / 328.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.005935, allocations: 11.94 kB / 329 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.005939, allocations: 0 / 329 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.00595, allocations: 0 / 329 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.591e-05/0.006036, allocations: 24.06 kB / 329 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.006041, allocations: 4 kB / 329 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.095e-05/0.006082, allocations: 7.984 kB / 329 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.006089, allocations: 4 kB / 329 MB, free: 11.13 MB / 298.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 5.309e-05/0.006142, allocations: 117.8 kB / 329.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.006153, allocations: 11.94 kB / 329.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.006174, allocations: 15.86 kB / 329.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.006177, allocations: 4 kB / 329.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.006181, allocations: 0 / 329.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.006183, allocations: 0 / 329.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.652e-05/0.006259, allocations: 148.7 kB / 329.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.00626, allocations: 0 / 329.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.006306, allocations: 15.98 kB / 329.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.006308, allocations: 4 kB / 329.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.006318, allocations: 7.922 kB / 329.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006319, allocations: 0 / 329.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006319, allocations: 3.938 kB / 329.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.006494, allocations: 142.7 kB / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.006502, allocations: 7.953 kB / 329.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.006515, allocations: 3.938 kB / 329.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.861e-05/0.006553, allocations: 11.98 kB / 329.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.006592, allocations: 11.98 kB / 329.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.006596, allocations: 3.938 kB / 329.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.669e-05/0.006632, allocations: 99.17 kB / 329.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006632, allocations: 0 / 329.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001315/0.006764, allocations: 16 kB / 329.6 MB, free: 10.44 MB / 298.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.0003343/0.007098, allocations: 0.6764 MB / 330.3 MB, free: 9.727 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.007269, allocations: 71.86 kB / 330.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.00727, allocations: 4.188 kB / 330.4 MB, free: 9.652 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-05/0.00734, allocations: 35.97 kB / 330.4 MB, free: 9.617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.007459, allocations: 7.094 kB / 330.4 MB, free: 9.613 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.008567, allocations: 1.462 MB / 331.9 MB, free: 8.043 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.008608, allocations: 75.19 kB / 331.9 MB, free: 7.949 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.421e-05/0.008642, allocations: 8 kB / 331.9 MB, free: 7.941 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.008688, allocations: 28.42 kB / 332 MB, free: 7.914 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.008688, allocations: 0 / 332 MB, free: 7.914 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.02382, allocations: 2.408 MB / 334.4 MB, free: 5.594 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.813/6.837, allocations: 3.984 kB / 334.4 MB, free: 5.59 MB / 298.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.746375155635178]