Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_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.001718/0.001718, allocations: 103.6 kB / 16.27 MB, free: 5.93 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.0015/0.0015, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2578/0.2578, allocations: 43.51 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001642, allocations: 71.56 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1337, allocations: 57.79 MB / 440.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002971/0.1367, allocations: 1.689 MB / 442.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.138, allocations: 0.7961 MB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.779e-05/0.1381, allocations: 0 / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.1384, allocations: 39.83 kB / 443.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.1387, allocations: 55.7 kB / 443.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.1389, allocations: 87.75 kB / 443.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1391, allocations: 91.7 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1392, allocations: 12.17 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.57e-05/0.1393, allocations: 43.78 kB / 443.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.723e-05/0.1393, allocations: 31.84 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1394, allocations: 4 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.946e-05/0.1395, allocations: 43.92 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.1395, allocations: 15.92 kB / 443.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.883e-05/0.1396, allocations: 31.8 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.1398, allocations: 107.7 kB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1398, allocations: 4 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1398, allocations: 0 / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1398, allocations: 0 / 443.7 MB, free: 3.707 MB / 318.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.0004609/0.1402, allocations: 395 kB / 444.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1403, allocations: 19.89 kB / 444.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.1403, allocations: 30.75 kB / 444.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.1404, allocations: 12.84 kB / 444.1 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.1406, allocations: 208.3 kB / 444.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1406, allocations: 4 kB / 444.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.1406, allocations: 0 / 444.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1407, allocations: 57.67 kB / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1408, allocations: 3.984 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1408, allocations: 0 / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1408, allocations: 4 kB / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.406e-05/0.1409, allocations: 27.98 kB / 444.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.1412, allocations: 288.8 kB / 444.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1413, allocations: 54.67 kB / 444.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.714e-05/0.1414, allocations: 20.86 kB / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1414, allocations: 7.938 kB / 444.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.1417, allocations: 75.22 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1417, allocations: 0 / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005436/0.1422, allocations: 157.4 kB / 445 MB, free: 2.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.1423, allocations: 63.28 kB / 445.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.1424, allocations: 159 kB / 445.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.1424, allocations: 29.7 kB / 445.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.1424, allocations: 100.1 kB / 445.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.1425, allocations: 23.66 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.1425, allocations: 25.7 kB / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.878e-05/0.1426, allocations: 326.8 kB / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.024e-05/0.1426, allocations: 12 kB / 445.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.85e-05/0.1427, allocations: 37.7 kB / 445.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.61e-05/0.1428, allocations: 69.62 kB / 445.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1428, allocations: 0 / 445.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001484/0.143, allocations: 97.58 kB / 445.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.143, allocations: 4 kB / 445.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.143, allocations: 3.938 kB / 445.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.143, allocations: 0 / 445.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.978e-05/0.1431, allocations: 19.94 kB / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1431, allocations: 0 / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.213e-05/0.1432, allocations: 12.02 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1432, allocations: 4 kB / 446 MB, free: 1.152 MB / 318.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 7.726e-05/0.1433, allocations: 125.2 kB / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.1433, allocations: 11.81 kB / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.1433, allocations: 20.64 kB / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1434, allocations: 0 / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1434, allocations: 0 / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1434, allocations: 0 / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.1437, allocations: 395.3 kB / 446.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1437, allocations: 4.375 kB / 446.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.1437, allocations: 8 kB / 446.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1438, allocations: 0 / 446.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1438, allocations: 7.938 kB / 446.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.1438, allocations: 3.938 kB / 446.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1438, allocations: 7.984 kB / 446.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.144, allocations: 204.5 kB / 446.7 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.144, allocations: 81.02 kB / 446.8 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.144, allocations: 7.938 kB / 446.8 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.653e-05/0.1441, allocations: 4 kB / 446.8 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.1442, allocations: 7.984 kB / 446.8 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.1442, allocations: 4 kB / 446.8 MB, free: 172 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.01e-05/0.1443, allocations: 123.9 kB / 447 MB, free: 48 kB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1443, allocations: 4 kB / 447 MB, free: 44 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1445, allocations: 24 kB / 447 MB, free: 20 kB / 318.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.001551/0.1461, allocations: 1.104 MB / 448.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.1463, allocations: 63.91 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1463, allocations: 0 / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.762e-05/0.1464, allocations: 31.88 kB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1468, allocations: 34.11 kB / 448.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.1486, allocations: 1.574 MB / 449.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.149, allocations: 0.6963 MB / 450.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.26e-05/0.149, allocations: 13.19 kB / 450.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.1491, allocations: 31.61 kB / 450.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1491, allocations: 0 / 450.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.1722, allocations: 3.191 MB / 453.7 MB, free: 9.219 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/7.709, allocations: 8.062 kB / 453.7 MB, free: 9.211 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches