Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",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.001233/0.001233, 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.001041/0.001041, 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.307/1.307, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2108/0.2108, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.75 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1185, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002932/0.1215, allocations: 1.692 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.1229, allocations: 0.8847 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.795e-05/0.123, allocations: 3.938 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1233, allocations: 35.83 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.1235, allocations: 51.7 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.1238, allocations: 111.6 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.1239, allocations: 95.75 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.124, allocations: 8.234 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.426e-05/0.1241, allocations: 43.73 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.369e-05/0.1242, allocations: 27.84 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1242, allocations: 8 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.755e-05/0.1243, allocations: 43.98 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/0.1244, allocations: 15.92 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.978e-05/0.1244, allocations: 35.78 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1246, allocations: 99.94 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1246, allocations: 0 / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1246, allocations: 0 / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.1246, allocations: 0 / 472.5 MB, free: 11.09 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.0005468/0.1252, allocations: 415 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1252, allocations: 8.031 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.1253, allocations: 38.75 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.1253, allocations: 8.844 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.1255, allocations: 204.5 kB / 473.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1255, allocations: 8 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1256, allocations: 0 / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1257, allocations: 53.67 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1257, allocations: 3.938 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1258, allocations: 3.938 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1258, allocations: 7.938 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.597e-05/0.1259, allocations: 19.98 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.1263, allocations: 284.8 kB / 473.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.1265, allocations: 58.67 kB / 473.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.1266, allocations: 20.8 kB / 473.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1266, allocations: 4 kB / 473.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.1268, allocations: 67.39 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1268, allocations: 0 / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005557/0.1274, allocations: 173.3 kB / 473.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.1274, allocations: 55.34 kB / 473.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.1276, allocations: 167.6 kB / 474.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.1276, allocations: 25.7 kB / 474.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.1277, allocations: 104.1 kB / 474.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.1277, allocations: 23.66 kB / 474.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.1278, allocations: 25.7 kB / 474.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1279, allocations: 318.8 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.128, allocations: 20 kB / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.236e-05/0.128, allocations: 33.7 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1281, allocations: 65.64 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1282, allocations: 0 / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001846/0.1283, allocations: 97.53 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1284, allocations: 7.984 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1284, allocations: 7.938 kB / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1284, allocations: 0 / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.591e-05/0.1285, allocations: 12 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1285, allocations: 0 / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.1286, allocations: 8.016 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1286, allocations: 12.38 kB / 474.8 MB, free: 8.523 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 9.712e-05/0.1287, allocations: 117.8 kB / 474.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.1287, allocations: 11.91 kB / 474.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.1288, allocations: 20.64 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1288, allocations: 0 / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1288, allocations: 7.938 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1288, allocations: 0 / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.1292, allocations: 391.5 kB / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1293, allocations: 3.938 kB / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.1293, allocations: 15.88 kB / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1293, allocations: 0 / 475.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1293, allocations: 4 kB / 475.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1293, allocations: 0 / 475.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1293, allocations: 0 / 475.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.1296, allocations: 216.1 kB / 475.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.1296, allocations: 85.02 kB / 475.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.1297, allocations: 0 / 475.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.746e-05/0.1297, allocations: 4 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.1298, allocations: 15.92 kB / 475.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1298, allocations: 4 kB / 475.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.552e-05/0.1299, allocations: 121.5 kB / 475.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1299, allocations: 0 / 475.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1301, allocations: 24 kB / 475.8 MB, free: 7.395 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.001352/0.1315, allocations: 1.095 MB / 476.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.1317, allocations: 63.91 kB / 477 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1317, allocations: 0 / 477 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.1318, allocations: 31.92 kB / 477 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.1321, allocations: 28.25 kB / 477.1 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.1337, allocations: 1.567 MB / 478.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.134, allocations: 0.708 MB / 479.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.211e-05/0.134, allocations: 13.19 kB / 479.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.1341, allocations: 31.42 kB / 479.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1341, allocations: 0 / 479.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.1514, allocations: 3.187 MB / 482.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.801/7.953, allocations: 6.172 kB / 482.6 MB, free: 0.793 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_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_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches