Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 79.69 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009737/0.0009737, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9449/0.9449, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.289e-05, allocations: 2.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002289/0.002302, allocations: 1.497 MB / 326 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008071/0.003109, allocations: 470.7 kB / 326.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.003167, allocations: 4 kB / 326.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.003202, allocations: 11.86 kB / 326.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.309e-05/0.003295, allocations: 15.81 kB / 326.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.003544, allocations: 47.81 kB / 326.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.003677, allocations: 75.66 kB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.003724, allocations: 192 / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.003922, allocations: 47.89 kB / 326.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.003986, allocations: 27.91 kB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.004004, allocations: 4 kB / 326.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.008e-05/0.004054, allocations: 15.92 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.00407, allocations: 7.984 kB / 326.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.004101, allocations: 27.92 kB / 326.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.004248, allocations: 67.72 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.004251, allocations: 4 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.004253, allocations: 0 / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.004257, allocations: 0 / 326.9 MB, free: 13.62 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.0005172/0.004774, allocations: 320.9 kB / 327.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.004814, allocations: 8.031 kB / 327.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.004854, allocations: 30.75 kB / 327.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.005105, allocations: 40.86 kB / 327.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.00528, allocations: 121.7 kB / 327.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.005289, allocations: 384 / 327.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.005301, allocations: 4.375 kB / 327.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.005518, allocations: 88.72 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.005527, allocations: 192 / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.005539, allocations: 3.938 kB / 327.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.005545, allocations: 8 kB / 327.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.005753, allocations: 59.92 kB / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.005909, allocations: 158.5 kB / 327.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.006048, allocations: 95.75 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.992e-05/0.006148, allocations: 62.55 kB / 327.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.006164, allocations: 0 / 327.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.006181, allocations: 38.55 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.006182, allocations: 0 / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002923/0.006474, allocations: 141.8 kB / 328 MB, free: 12.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.006515, allocations: 110.7 kB / 328.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.953e-05/0.006584, allocations: 129.2 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.006596, allocations: 37.64 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.006627, allocations: 88.12 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.006652, allocations: 19.84 kB / 328.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.006681, allocations: 17.7 kB / 328.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002334/0.006914, allocations: 314.8 kB / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.937e-05/0.006984, allocations: 35.95 kB / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.736e-05/0.007051, allocations: 46.61 kB / 328.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.007185, allocations: 86.45 kB / 328.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.007186, allocations: 0 / 328.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001615/0.007348, allocations: 117.5 kB / 329 MB, free: 11.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.00736, allocations: 7.938 kB / 329 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.007364, allocations: 0 / 329 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.007374, allocations: 0 / 329 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.734e-05/0.007452, allocations: 15.98 kB / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.007461, allocations: 11.97 kB / 329 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.0075, allocations: 12.09 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.007507, allocations: 3.984 kB / 329 MB, free: 11.18 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.507e-05/0.007562, allocations: 113.8 kB / 329.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.007572, allocations: 7.953 kB / 329.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.002e-05/0.007592, allocations: 19.86 kB / 329.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.007593, allocations: 0 / 329.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.007597, allocations: 0 / 329.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.007601, allocations: 3.984 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.641e-05/0.007688, allocations: 140.7 kB / 329.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.007689, allocations: 0 / 329.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.624e-05/0.007735, allocations: 27.91 kB / 329.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.007739, allocations: 8 kB / 329.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.007748, allocations: 3.938 kB / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.007748, allocations: 0 / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.00775, allocations: 4 kB / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.007919, allocations: 130.8 kB / 329.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.00793, allocations: 15.94 kB / 329.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.007943, allocations: 3.938 kB / 329.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.007981, allocations: 11.98 kB / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.008018, allocations: 11.94 kB / 329.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.008022, allocations: 7.922 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.888e-05/0.008061, allocations: 103.2 kB / 329.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008061, allocations: 0 / 329.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001296/0.00819, allocations: 12 kB / 329.7 MB, free: 10.48 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.0003235/0.008514, allocations: 0.6726 MB / 330.3 MB, free: 9.777 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.008691, allocations: 67.88 kB / 330.4 MB, free: 9.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.008692, allocations: 0 / 330.4 MB, free: 9.711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.206e-05/0.008764, allocations: 52.09 kB / 330.5 MB, free: 9.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.008881, allocations: 9.297 kB / 330.5 MB, free: 9.656 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.01, allocations: 1.457 MB / 331.9 MB, free: 8.094 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.262e-05/0.01004, allocations: 79.42 kB / 332 MB, free: 7.996 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.226e-05/0.01008, allocations: 3.984 kB / 332 MB, free: 7.992 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.01012, allocations: 28.48 kB / 332 MB, free: 7.965 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01012, allocations: 0 / 332 MB, free: 7.965 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.02386, allocations: 2.396 MB / 334.4 MB, free: 5.672 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.777/6.801, allocations: 14.27 kB / 334.4 MB, free: 5.664 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.766420806758106]