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.001445/0.001445, allocations: 123 kB / 17.79 MB, free: 5.266 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.00151/0.00151, allocations: 189.2 kB / 20.73 MB, free: 2.328 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.492/1.492, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.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.001685/0.001685, allocations: 47.91 kB / 365.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1258, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.0029/0.1287, allocations: 1.505 MB / 419.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009234/0.1296, allocations: 450.8 kB / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.1296, allocations: 0 / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.558e-05/0.1297, allocations: 3.938 kB / 419.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.1298, allocations: 23.78 kB / 419.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.13, allocations: 31.97 kB / 419.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1301, allocations: 71.66 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.929e-05/0.1302, allocations: 7.969 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.1304, allocations: 35.84 kB / 419.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.902e-05/0.1305, allocations: 35.84 kB / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.1305, allocations: 4 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.596e-05/0.1305, allocations: 4 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.1305, allocations: 11.92 kB / 419.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.1306, allocations: 27.86 kB / 420 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.1307, allocations: 55.73 kB / 420 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.1307, allocations: 0 / 420 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.879e-06/0.1307, allocations: 4 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.1307, allocations: 0 / 420 MB, free: 10.36 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.0007734/0.1315, allocations: 391.1 kB / 420.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1316, allocations: 12.03 kB / 420.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.1316, allocations: 30.75 kB / 420.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.1316, allocations: 12.89 kB / 420.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.1318, allocations: 182.5 kB / 420.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1318, allocations: 4.125 kB / 420.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.1319, allocations: 8 kB / 420.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.1321, allocations: 84.16 kB / 420.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1321, allocations: 0 / 420.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1322, allocations: 0 / 420.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1322, allocations: 4 kB / 420.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.1324, allocations: 63.88 kB / 420.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.1327, allocations: 187.4 kB / 421 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.133, allocations: 103.7 kB / 421.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.1331, allocations: 50.61 kB / 421.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1331, allocations: 0 / 421.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.1332, allocations: 42.55 kB / 421.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.1332, allocations: 0 / 421.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006064/0.1338, allocations: 145.8 kB / 421.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.1339, allocations: 106.8 kB / 421.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.134, allocations: 122.1 kB / 421.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.134, allocations: 25.7 kB / 421.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.1341, allocations: 92.12 kB / 421.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.1341, allocations: 15.84 kB / 421.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.1342, allocations: 21.7 kB / 421.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1343, allocations: 314.8 kB / 422 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.1344, allocations: 35.98 kB / 422 MB, free: 8.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.1346, allocations: 46.55 kB / 422.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.1349, allocations: 86.45 kB / 422.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.1349, allocations: 11.94 kB / 422.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003389/0.1352, allocations: 101.6 kB / 422.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1352, allocations: 12.03 kB / 422.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.1352, allocations: 4 kB / 422.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1353, allocations: 0 / 422.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.1354, allocations: 15.98 kB / 422.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1354, allocations: 3.984 kB / 422.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.841e-05/0.1355, allocations: 11.95 kB / 422.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1355, allocations: 7.984 kB / 422.3 MB, free: 7.754 MB / 350.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.72e-05/0.1356, allocations: 121.7 kB / 422.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.1357, allocations: 7.953 kB / 422.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.1357, allocations: 11.88 kB / 422.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1357, allocations: 0 / 422.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1357, allocations: 0 / 422.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1357, allocations: 7.984 kB / 422.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.1359, allocations: 181.6 kB / 422.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1359, allocations: 0 / 422.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.136, allocations: 19.98 kB / 422.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.136, allocations: 0 / 422.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.136, allocations: 7.984 kB / 422.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.136, allocations: 0 / 422.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.136, allocations: 4 kB / 422.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.1364, allocations: 150.7 kB / 422.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/0.1364, allocations: 81.11 kB / 422.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.1365, allocations: 0 / 422.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1366, allocations: 19.92 kB / 422.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.1366, allocations: 3.984 kB / 422.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.1366, allocations: 4 kB / 422.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.316e-05/0.1367, allocations: 101.4 kB / 423 MB, free: 6.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1367, allocations: 0 / 423 MB, free: 6.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002014/0.1369, allocations: 8 kB / 423 MB, free: 6.934 MB / 350.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.0007146/0.1376, allocations: 0.6881 MB / 423.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.138, allocations: 67.88 kB / 423.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.138, allocations: 0 / 423.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.1381, allocations: 40.27 kB / 423.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.1383, allocations: 8.062 kB / 423.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/0.139, allocations: 222.4 kB / 424.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.1393, allocations: 0.6883 MB / 424.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.497e-05/0.1394, allocations: 11.94 kB / 424.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.896e-05/0.1394, allocations: 23.42 kB / 424.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1394, allocations: 0 / 424.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.1641, allocations: 1.724 MB / 426.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.363/8.527, allocations: 5 kB / 426.5 MB, free: 3.426 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.221677301917225]