Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001859/0.001859, allocations: 124 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.002095/0.002095, allocations: 190.9 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.603/1.603, allocations: 225.6 MB / 249.1 MB, free: 3.625 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.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 47.92 kB / 365.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1238, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003119/0.1269, allocations: 1.582 MB / 419.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009265/0.1278, allocations: 482.7 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.297e-05/0.1279, allocations: 4 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.724e-05/0.128, allocations: 7.875 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.1281, allocations: 11.91 kB / 419.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.1284, allocations: 43.83 kB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.1285, allocations: 35.92 kB / 419.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1286, allocations: 19.98 kB / 420 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.233e-05/0.1287, allocations: 27.8 kB / 420 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.1288, allocations: 23.91 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.1288, allocations: 4 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.1288, allocations: 0 / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.1288, allocations: 15.94 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.1289, allocations: 23.8 kB / 420.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.129, allocations: 47.75 kB / 420.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.129, allocations: 0 / 420.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.129, allocations: 0 / 420.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.129, allocations: 0 / 420.1 MB, free: 10.29 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000595/0.1296, allocations: 395 kB / 420.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1297, allocations: 8.031 kB / 420.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.1297, allocations: 34.75 kB / 420.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.1297, allocations: 8.891 kB / 420.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.13, allocations: 196.1 kB / 420.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.13, allocations: 4.375 kB / 420.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.13, allocations: 4.375 kB / 420.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.1303, allocations: 125.2 kB / 420.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1303, allocations: 0 / 420.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1304, allocations: 3.984 kB / 420.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1304, allocations: 0 / 420.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.245e-05/0.1305, allocations: 27.92 kB / 420.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.1308, allocations: 261.8 kB / 421.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.131, allocations: 138.2 kB / 421.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.97e-05/0.1311, allocations: 37.77 kB / 421.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1311, allocations: 0 / 421.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1312, allocations: 30.56 kB / 421.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.1312, allocations: 0 / 421.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002853/0.1315, allocations: 81.56 kB / 421.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.1315, allocations: 81.11 kB / 421.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.1317, allocations: 144 kB / 421.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1317, allocations: 25.7 kB / 421.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.1317, allocations: 92.12 kB / 421.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.1318, allocations: 3.953 kB / 421.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.1318, allocations: 17.72 kB / 421.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.132, allocations: 318.8 kB / 422.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.154e-05/0.132, allocations: 19.92 kB / 422.1 MB, free: 8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.1321, allocations: 35.38 kB / 422.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.1322, allocations: 43.42 kB / 422.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1322, allocations: 3.938 kB / 422.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001511/0.1323, allocations: 73.56 kB / 422.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1323, allocations: 4 kB / 422.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1324, allocations: 4 kB / 422.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1324, allocations: 0 / 422.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.503e-05/0.1324, allocations: 11.98 kB / 422.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.1324, allocations: 0 / 422.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.1325, allocations: 11.88 kB / 422.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1325, allocations: 4.125 kB / 422.3 MB, free: 7.781 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 0.0001051/0.1326, allocations: 134.4 kB / 422.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.967e-05/0.1327, allocations: 45.66 kB / 422.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.1327, allocations: 12.23 kB / 422.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1327, allocations: 4 kB / 422.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1327, allocations: 0 / 422.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1327, allocations: 0 / 422.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.1329, allocations: 169.6 kB / 422.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1329, allocations: 4 kB / 422.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.133, allocations: 7.984 kB / 422.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.133, allocations: 8 kB / 422.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.133, allocations: 0 / 422.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.133, allocations: 0 / 422.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.133, allocations: 0 / 422.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1333, allocations: 180.5 kB / 422.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/0.1333, allocations: 89.05 kB / 422.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.1334, allocations: 12 kB / 423 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.1334, allocations: 0 / 423 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.1334, allocations: 0 / 423 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1335, allocations: 4 kB / 423 MB, free: 7.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.95e-05/0.1335, allocations: 109.6 kB / 423.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1335, allocations: 0 / 423.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1338, allocations: 4 kB / 423.1 MB, free: 6.906 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0005538/0.1343, allocations: 0.7092 MB / 423.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.1345, allocations: 35.91 kB / 423.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1345, allocations: 3.938 kB / 423.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.045e-05/0.1345, allocations: 4.25 kB / 423.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.1349, allocations: 28.08 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.001467/0.1364, allocations: 1.371 MB / 425.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.1367, allocations: 0.6983 MB / 425.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.864e-05/0.1368, allocations: 4 kB / 425.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.1368, allocations: 11.44 kB / 425.9 MB, free: 3.891 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1368, allocations: 0 / 425.9 MB, free: 3.891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/0.1728, allocations: 1.565 MB / 427.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/8.569, allocations: 16.03 kB / 427.5 MB, free: 2.402 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.504444736987352]