Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",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.001194/0.001194, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001301/0.001301, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.421/1.421, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.307/0.307, allocations: 44.17 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 67.89 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1177, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003376/0.1212, allocations: 1.712 MB / 471.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1226, allocations: 0.8846 MB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.515e-05/0.1227, allocations: 4 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.123, allocations: 51.75 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.1233, allocations: 63.69 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.1236, allocations: 103.6 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.1238, allocations: 123.7 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1239, allocations: 15.98 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.808e-05/0.124, allocations: 47.78 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1241, allocations: 55.77 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.1242, allocations: 4 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.1243, allocations: 67.95 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.053e-05/0.1244, allocations: 23.92 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.508e-05/0.1245, allocations: 35.75 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.1247, allocations: 147.8 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1247, allocations: 0 / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1247, allocations: 0 / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1248, allocations: 3.938 kB / 472.7 MB, free: 10.9 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006449/0.1254, allocations: 429.8 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1255, allocations: 12.03 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.1255, allocations: 38.75 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.1256, allocations: 8.844 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.1258, allocations: 222.6 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1258, allocations: 4.375 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.1259, allocations: 7.938 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.126, allocations: 73.59 kB / 473.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1261, allocations: 7.938 kB / 473.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1261, allocations: 0 / 473.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1261, allocations: 4 kB / 473.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.1262, allocations: 47.91 kB / 473.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.1267, allocations: 324.6 kB / 473.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/0.1271, allocations: 82.55 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.33e-05/0.1272, allocations: 28.84 kB / 474 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.1272, allocations: 8 kB / 474 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.1275, allocations: 79.41 kB / 474 MB, free: 9.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.1275, allocations: 0 / 474 MB, free: 9.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008745/0.1284, allocations: 293 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.1284, allocations: 59.28 kB / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.1286, allocations: 187.3 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1286, allocations: 33.7 kB / 474.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.1287, allocations: 104.3 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.1287, allocations: 47.53 kB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.1288, allocations: 29.7 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1289, allocations: 326.8 kB / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.129, allocations: 39.98 kB / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.074e-05/0.1291, allocations: 60.36 kB / 475.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.1293, allocations: 101 kB / 475.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1293, allocations: 0.8438 kB / 475.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002361/0.1295, allocations: 145.5 kB / 475.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1295, allocations: 4 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1295, allocations: 4 kB / 475.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1296, allocations: 0 / 475.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.791e-05/0.1297, allocations: 35.86 kB / 475.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1297, allocations: 0 / 475.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.1297, allocations: 8.031 kB / 475.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.1298, allocations: 4 kB / 475.5 MB, free: 7.852 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 (15): * Single equations (assignments): 15 * 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.000103/0.1299, allocations: 133.8 kB / 475.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.1299, allocations: 11.81 kB / 475.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.13, allocations: 29.45 kB / 475.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.13, allocations: 3.938 kB / 475.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.13, allocations: 0 / 475.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.13, allocations: 3.984 kB / 475.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/0.1306, allocations: 487.9 kB / 476.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1306, allocations: 0 / 476.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.1306, allocations: 19.98 kB / 476.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1306, allocations: 4 kB / 476.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1307, allocations: 4 kB / 476.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1307, allocations: 4 kB / 476.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1307, allocations: 0 / 476.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.131, allocations: 257.1 kB / 476.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.131, allocations: 92.91 kB / 476.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.1311, allocations: 7.938 kB / 476.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.1312, allocations: 4 kB / 476.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.1312, allocations: 15.98 kB / 476.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.1312, allocations: 8 kB / 476.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.1314, allocations: 139.9 kB / 476.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1314, allocations: 0 / 476.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1316, allocations: 28 kB / 476.7 MB, free: 6.512 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: 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 (13): * Single equations (assignments): 11 * 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.001592/0.1332, allocations: 1.211 MB / 477.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.1335, allocations: 107.9 kB / 478 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1335, allocations: 0 / 478 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.443e-05/0.1336, allocations: 47.92 kB / 478.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.134, allocations: 29.8 kB / 478.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.1358, allocations: 1.826 MB / 479.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.1361, allocations: 0.716 MB / 480.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.871e-05/0.1362, allocations: 29.41 kB / 480.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.1363, allocations: 43.42 kB / 480.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1363, allocations: 0 / 480.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.158, allocations: 3.888 MB / 484.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.31/7.468, allocations: 7.5 kB / 484.6 MB, free: 14.77 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches