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.001311/0.001311, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001459/0.001459, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 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 1.453/1.453, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001897/0.001897, allocations: 55.91 kB / 373 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1068, allocations: 53.39 MB / 426.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002763/0.1095, allocations: 1.513 MB / 427.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009433/0.1105, allocations: 0.4948 MB / 428.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.1105, allocations: 4 kB / 428.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.1106, allocations: 3.938 kB / 428.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.1107, allocations: 19.78 kB / 428.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.1109, allocations: 35.89 kB / 428.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.111, allocations: 75.7 kB / 428.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.81e-05/0.1111, allocations: 8.125 kB / 428.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.1112, allocations: 47.84 kB / 428.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.345e-05/0.1113, allocations: 27.91 kB / 428.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.1113, allocations: 4 kB / 428.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.706e-05/0.1114, allocations: 15.98 kB / 428.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.1114, allocations: 15.88 kB / 428.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.1115, allocations: 27.84 kB / 428.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.1116, allocations: 63.73 kB / 428.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1116, allocations: 0 / 428.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.76e-06/0.1116, allocations: 3.984 kB / 428.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1116, allocations: 0 / 428.7 MB, free: 2.285 MB / 350.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.000681/0.1123, allocations: 395.1 kB / 429.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1123, allocations: 11.97 kB / 429.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.1124, allocations: 30.75 kB / 429.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003106/0.1127, allocations: 36.86 kB / 429.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.1129, allocations: 186.3 kB / 429.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-06/0.1129, allocations: 4.375 kB / 429.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.1129, allocations: 4.359 kB / 429.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.1132, allocations: 96.09 kB / 429.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1132, allocations: 0 / 429.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1132, allocations: 0 / 429.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1132, allocations: 0 / 429.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/0.1135, allocations: 63.94 kB / 429.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002225/0.1137, allocations: 187.4 kB / 429.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.114, allocations: 103.7 kB / 429.8 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.1142, allocations: 46.61 kB / 429.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.1142, allocations: 3.938 kB / 429.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.1142, allocations: 42.56 kB / 429.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.1142, allocations: 0 / 429.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005474/0.1148, allocations: 133.5 kB / 430 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.1148, allocations: 119.1 kB / 430.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.1149, allocations: 125.8 kB / 430.3 MB, free: 492 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.115, allocations: 25.7 kB / 430.3 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.115, allocations: 92.14 kB / 430.4 MB, free: 364 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.1151, allocations: 11.89 kB / 430.4 MB, free: 352 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.1151, allocations: 21.72 kB / 430.4 MB, free: 324 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1153, allocations: 318.8 kB / 430.7 MB, free: 16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1154, allocations: 35.97 kB / 430.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.1156, allocations: 42.55 kB / 430.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.1158, allocations: 90.45 kB / 430.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1158, allocations: 0 / 430.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003606/0.1162, allocations: 109.5 kB / 431 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1162, allocations: 11.94 kB / 431 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1162, allocations: 0 / 431 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1162, allocations: 8.094 kB / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.1164, allocations: 19.97 kB / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1164, allocations: 4 kB / 431 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.1165, allocations: 11.98 kB / 431 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1165, allocations: 7.938 kB / 431.1 MB, free: 15.64 MB / 366.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 9.315e-05/0.1166, allocations: 109.8 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.1166, allocations: 11.89 kB / 431.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.1167, allocations: 15.86 kB / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1167, allocations: 4 kB / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1167, allocations: 3.938 kB / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1167, allocations: 0 / 431.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.1169, allocations: 185.6 kB / 431.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1169, allocations: 0 / 431.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.117, allocations: 19.97 kB / 431.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.117, allocations: 0 / 431.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.117, allocations: 4 kB / 431.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.117, allocations: 0 / 431.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.117, allocations: 4 kB / 431.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.1174, allocations: 142.6 kB / 431.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.1174, allocations: 96.98 kB / 431.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.1174, allocations: 4.141 kB / 431.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.1175, allocations: 11.98 kB / 431.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.1176, allocations: 7.984 kB / 431.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1176, allocations: 3.984 kB / 431.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.575e-05/0.1177, allocations: 105.6 kB / 431.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1177, allocations: 0 / 431.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.1179, allocations: 8 kB / 431.8 MB, free: 14.8 MB / 366.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.0006801/0.1185, allocations: 0.6765 MB / 432.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.1189, allocations: 71.92 kB / 432.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1189, allocations: 0 / 432.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.119, allocations: 39.91 kB / 432.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.1192, allocations: 4 kB / 432.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.1213, allocations: 1.463 MB / 434 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1217, allocations: 0.6923 MB / 434.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.64e-05/0.1217, allocations: 8 kB / 434.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.1218, allocations: 19.42 kB / 434.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1218, allocations: 0 / 434.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.1458, allocations: 1.755 MB / 436.5 MB, free: 9.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/7.924, allocations: 4.062 kB / 436.5 MB, free: 9.977 MB / 366.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.778983146999963]