Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.001332/0.001332, 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.001322/0.001322, 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.446/1.446, allocations: 225.6 MB / 249.1 MB, free: 3.609 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.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 55.91 kB / 365.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.125, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.00263/0.1276, allocations: 1.503 MB / 419.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007161/0.1283, allocations: 430.9 kB / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.915e-05/0.1284, allocations: 3.938 kB / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.1284, allocations: 7.938 kB / 419.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.268e-05/0.1285, allocations: 15.91 kB / 419.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.1287, allocations: 27.91 kB / 419.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.1288, allocations: 35.92 kB / 419.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.1289, allocations: 11.98 kB / 419.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.129, allocations: 19.88 kB / 419.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.351e-05/0.129, allocations: 15.86 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1291, allocations: 4 kB / 419.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-06/0.1291, allocations: 0 / 419.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.1291, allocations: 15.98 kB / 419.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.1291, allocations: 19.86 kB / 419.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.269e-05/0.1292, allocations: 31.84 kB / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1292, allocations: 0 / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1292, allocations: 0 / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1292, allocations: 0 / 419.9 MB, free: 10.47 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004718/0.1297, allocations: 351.3 kB / 420.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1297, allocations: 8.031 kB / 420.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.1298, allocations: 34.75 kB / 420.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.1298, allocations: 8.875 kB / 420.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.13, allocations: 196.2 kB / 420.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.1301, allocations: 384 / 420.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.1301, allocations: 4.375 kB / 420.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.1304, allocations: 111.4 kB / 420.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1304, allocations: 4 kB / 420.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1304, allocations: 3.938 kB / 420.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1304, allocations: 0 / 420.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.891e-05/0.1305, allocations: 19.98 kB / 420.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.1307, allocations: 169.6 kB / 420.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.1308, allocations: 50.59 kB / 420.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.506e-05/0.1309, allocations: 24.89 kB / 420.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1309, allocations: 0 / 420.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.1309, allocations: 38.48 kB / 420.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1309, allocations: 0 / 420.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002413/0.1312, allocations: 85.5 kB / 421 MB, free: 9.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.1312, allocations: 55.41 kB / 421.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.1313, allocations: 105.8 kB / 421.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1313, allocations: 33.7 kB / 421.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.1314, allocations: 84.14 kB / 421.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.453e-06/0.1314, allocations: 0 / 421.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.1314, allocations: 21.7 kB / 421.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1315, allocations: 314.8 kB / 421.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.1316, allocations: 4 kB / 421.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.1316, allocations: 27.42 kB / 421.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.594e-05/0.1316, allocations: 35.38 kB / 421.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1316, allocations: 4 kB / 421.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.33e-05/0.1317, allocations: 61.5 kB / 421.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1317, allocations: 8.125 kB / 421.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1317, allocations: 0 / 421.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1318, allocations: 4.281 kB / 421.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.965e-05/0.1318, allocations: 4 kB / 421.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1318, allocations: 0 / 421.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.326e-05/0.1318, allocations: 8 kB / 421.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-06/0.1318, allocations: 0 / 421.8 MB, free: 8.371 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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.936e-05/0.1319, allocations: 109.8 kB / 421.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.132, allocations: 77.48 kB / 421.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.1321, allocations: 11.91 kB / 422 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1321, allocations: 0 / 422 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1321, allocations: 0 / 422 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1321, allocations: 4 kB / 422 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.1322, allocations: 165.6 kB / 422.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1322, allocations: 0 / 422.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.333e-05/0.1323, allocations: 15.92 kB / 422.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1323, allocations: 0 / 422.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1323, allocations: 0 / 422.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1323, allocations: 0 / 422.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1323, allocations: 4.375 kB / 422.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.1324, allocations: 89.06 kB / 422.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.1325, allocations: 88.98 kB / 422.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1325, allocations: 3.984 kB / 422.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.526e-05/0.1325, allocations: 11.88 kB / 422.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-06/0.1325, allocations: 0 / 422.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.1326, allocations: 0 / 422.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.803e-05/0.1326, allocations: 95.27 kB / 422.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1326, allocations: 0 / 422.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001875/0.1328, allocations: 4 kB / 422.4 MB, free: 7.594 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0004743/0.1333, allocations: 0.6279 MB / 423.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.1334, allocations: 31.92 kB / 423.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1334, allocations: 0 / 423.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.1334, allocations: 0 / 423.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.1336, allocations: 23.97 kB / 423.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.1347, allocations: 1.198 MB / 424.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.135, allocations: 0.6844 MB / 425 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.538e-05/0.1351, allocations: 3.984 kB / 425 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.1351, allocations: 19.38 kB / 425 MB, free: 4.852 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1351, allocations: 0 / 425 MB, free: 4.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.1575, allocations: 1.337 MB / 426.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.182, allocations: 7.047 kB / 426.4 MB, free: 3.625 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.720803040079772]