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.001316/0.001316, allocations: 115.9 kB / 17.74 MB, free: 5.355 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.001331/0.001331, allocations: 185.3 kB / 20.68 MB, free: 2.422 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.487/1.487, allocations: 222.9 MB / 246.4 MB, free: 4.188 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.001532/0.001532, allocations: 51.91 kB / 357.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1241, allocations: 49.44 MB / 406.9 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003425/0.1276, allocations: 1.566 MB / 408.5 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009782/0.1286, allocations: 474.7 kB / 409 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.826e-05/0.1288, allocations: 4 kB / 409 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.633e-05/0.1288, allocations: 3.938 kB / 409 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.129, allocations: 15.84 kB / 409 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.1293, allocations: 39.89 kB / 409 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.1294, allocations: 43.86 kB / 409.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1295, allocations: 19.97 kB / 409.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.001e-05/0.1296, allocations: 19.92 kB / 409.1 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.1297, allocations: 23.84 kB / 409.1 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1297, allocations: 4 kB / 409.1 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.507e-05/0.1297, allocations: 4 kB / 409.1 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.1298, allocations: 11.94 kB / 409.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.1299, allocations: 31.8 kB / 409.2 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.13, allocations: 55.97 kB / 409.2 MB, free: 5.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.13, allocations: 0 / 409.2 MB, free: 5.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.13, allocations: 0 / 409.2 MB, free: 5.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.13, allocations: 0 / 409.2 MB, free: 5.004 MB / 334.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.0005647/0.1306, allocations: 383 kB / 409.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.1307, allocations: 12.03 kB / 409.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.1307, allocations: 34.75 kB / 409.7 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.1308, allocations: 8.891 kB / 409.7 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.1311, allocations: 200.2 kB / 409.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1311, allocations: 384 / 409.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.1311, allocations: 8.375 kB / 409.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.1315, allocations: 121 kB / 410 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1315, allocations: 4 kB / 410 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.1315, allocations: 0 / 410 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1315, allocations: 4 kB / 410 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.833e-05/0.1316, allocations: 19.98 kB / 410 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.132, allocations: 273.6 kB / 410.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.1323, allocations: 146.3 kB / 410.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.456e-05/0.1323, allocations: 25.77 kB / 410.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1324, allocations: 4 kB / 410.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1324, allocations: 34.5 kB / 410.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1324, allocations: 0 / 410.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002867/0.1327, allocations: 81.56 kB / 410.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.103e-05/0.1328, allocations: 85.11 kB / 410.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.133, allocations: 140.3 kB / 410.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.133, allocations: 25.7 kB / 410.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.1331, allocations: 84.14 kB / 410.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.1331, allocations: 11.94 kB / 410.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.1331, allocations: 17.72 kB / 410.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1333, allocations: 322.9 kB / 411.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-05/0.1333, allocations: 8 kB / 411.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.435e-05/0.1334, allocations: 31.42 kB / 411.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.1335, allocations: 55.36 kB / 411.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1335, allocations: 0 / 411.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001453/0.1337, allocations: 73.5 kB / 411.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1337, allocations: 4 kB / 411.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1337, allocations: 0 / 411.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1337, allocations: 4 kB / 411.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.199e-05/0.1338, allocations: 16.11 kB / 411.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1338, allocations: 0 / 411.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/0.1339, allocations: 7.938 kB / 411.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1339, allocations: 0 / 411.4 MB, free: 2.5 MB / 334.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.000111/0.134, allocations: 117.8 kB / 411.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-05/0.1341, allocations: 61.84 kB / 411.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.1341, allocations: 12.23 kB / 411.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1341, allocations: 0 / 411.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1341, allocations: 4 kB / 411.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1342, allocations: 7.938 kB / 411.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.1344, allocations: 169.6 kB / 411.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1344, allocations: 0 / 411.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/0.1344, allocations: 11.98 kB / 411.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1344, allocations: 0 / 411.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1345, allocations: 4 kB / 411.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1345, allocations: 4 kB / 411.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1345, allocations: 0 / 411.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.1347, allocations: 180.2 kB / 412 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.754e-05/0.1348, allocations: 93.05 kB / 412.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.1348, allocations: 0 / 412.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.1349, allocations: 4 kB / 412.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.1349, allocations: 0 / 412.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.1349, allocations: 4 kB / 412.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.499e-05/0.135, allocations: 109.3 kB / 412.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.135, allocations: 0 / 412.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.1353, allocations: 8 kB / 412.2 MB, free: 1.617 MB / 334.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.0005387/0.1358, allocations: 0.7015 MB / 412.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.136, allocations: 39.97 kB / 413 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.136, allocations: 0 / 413 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.082e-05/0.1361, allocations: 11.94 kB / 413 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1364, allocations: 21.56 kB / 413 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.138, allocations: 1.37 MB / 414.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.1383, allocations: 0.6922 MB / 415 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.797e-05/0.1384, allocations: 0 / 415 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.1385, allocations: 19.44 kB / 415.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of SimCode: time 2.535e-06/0.1385, allocations: 0 / 415.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.1634, allocations: 1.562 MB / 416.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/8.439, allocations: 15.55 kB / 416.6 MB, free: 13.13 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.120692286989652]