Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.212/0.212, allocations: 44.19 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 66.23 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1163, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003554/0.1199, allocations: 1.704 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1213, allocations: 0.8808 MB / 472 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1214, allocations: 3.938 kB / 472 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.1217, allocations: 43.81 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.122, allocations: 63.69 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.1224, allocations: 103.6 kB / 472.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1226, allocations: 95.7 kB / 472.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1227, allocations: 16.2 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1228, allocations: 43.78 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.815e-05/0.1229, allocations: 27.8 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.123, allocations: 4 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.1231, allocations: 43.98 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.1232, allocations: 27.91 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.134e-05/0.1232, allocations: 31.75 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.1235, allocations: 123.8 kB / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1235, allocations: 4 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1235, allocations: 0 / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1235, allocations: 0 / 472.6 MB, free: 11.05 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006244/0.1241, allocations: 422.9 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1242, allocations: 12.03 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.1242, allocations: 34.75 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.1243, allocations: 12.75 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.1246, allocations: 212 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.1246, allocations: 12.38 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.1246, allocations: 7.938 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.1248, allocations: 49.67 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1248, allocations: 0 / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1249, allocations: 8 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.1249, allocations: 0 / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.125, allocations: 19.92 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.1254, allocations: 292.7 kB / 473.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.1256, allocations: 62.67 kB / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.05e-05/0.1257, allocations: 20.84 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1257, allocations: 4 kB / 473.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.126, allocations: 67.33 kB / 473.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.126, allocations: 4 kB / 473.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005938/0.1266, allocations: 169.2 kB / 474 MB, free: 9.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.1266, allocations: 55.41 kB / 474 MB, free: 9.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.1268, allocations: 230.5 kB / 474.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1268, allocations: 29.7 kB / 474.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.1269, allocations: 108.1 kB / 474.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.127, allocations: 27.64 kB / 474.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.127, allocations: 17.72 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1271, allocations: 334.8 kB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.72e-05/0.1272, allocations: 16 kB / 474.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.58e-05/0.1273, allocations: 41.64 kB / 474.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1274, allocations: 61.64 kB / 474.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1274, allocations: 0 / 474.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001882/0.1276, allocations: 97.56 kB / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1276, allocations: 8 kB / 475 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1276, allocations: 0 / 475 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1277, allocations: 3.984 kB / 475 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1278, allocations: 20 kB / 475 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.1278, allocations: 0 / 475 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.1278, allocations: 3.938 kB / 475 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1279, allocations: 4.375 kB / 475 MB, free: 8.387 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001121/0.128, allocations: 133.7 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.128, allocations: 19.81 kB / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/0.1281, allocations: 21.33 kB / 475.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1281, allocations: 4 kB / 475.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.1281, allocations: 4 kB / 475.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1281, allocations: 3.938 kB / 475.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.1286, allocations: 395.3 kB / 475.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1286, allocations: 0 / 475.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.1287, allocations: 15.92 kB / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1287, allocations: 7.969 kB / 475.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.1287, allocations: 8 kB / 475.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1287, allocations: 0 / 475.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1287, allocations: 0 / 475.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.129, allocations: 200.4 kB / 475.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.1291, allocations: 89 kB / 475.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.1291, allocations: 11.94 kB / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.1292, allocations: 4 kB / 475.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.1292, allocations: 7.984 kB / 475.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.1293, allocations: 4 kB / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001777/0.1295, allocations: 171.2 kB / 476.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1295, allocations: 4 kB / 476.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.1298, allocations: 23.98 kB / 476.1 MB, free: 7.18 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001824/0.1316, allocations: 1.099 MB / 477.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.1318, allocations: 63.91 kB / 477.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1318, allocations: 0 / 477.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.942e-05/0.1319, allocations: 31.92 kB / 477.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1322, allocations: 31.05 kB / 477.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.1341, allocations: 1.709 MB / 479 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.1345, allocations: 0.7197 MB / 479.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.679e-05/0.1346, allocations: 13.19 kB / 479.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/0.1347, allocations: 39.41 kB / 479.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1347, allocations: 0 / 479.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.1548, allocations: 3.455 MB / 483.2 MB, free: 152 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/7.942, allocations: 7.984 kB / 483.3 MB, free: 144 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches