Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",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.001103/0.001103, 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.001132/0.001132, 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.415/1.415, 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.2436/0.2436, allocations: 44.17 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 72.19 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1311, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003448/0.1346, allocations: 1.657 MB / 471 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1361, allocations: 0.8497 MB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.1362, allocations: 3.938 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.1365, allocations: 71.7 kB / 471.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.1368, allocations: 67.75 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.1371, allocations: 111.5 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1373, allocations: 95.69 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.28e-05/0.1373, allocations: 4 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.602e-05/0.1374, allocations: 47.78 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.084e-05/0.1375, allocations: 43.83 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1375, allocations: 0 / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.434e-05/0.1376, allocations: 35.98 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.1377, allocations: 27.86 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.51e-05/0.1378, allocations: 31.8 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.138, allocations: 95.94 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.138, allocations: 0 / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.138, allocations: 4 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.138, allocations: 0 / 472.5 MB, free: 11.1 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005738/0.1386, allocations: 395 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1386, allocations: 12.03 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.1387, allocations: 30.75 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.1387, allocations: 12.84 kB / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.139, allocations: 216 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.139, allocations: 384 / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.139, allocations: 7.922 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.1392, allocations: 49.67 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1392, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.1392, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1392, allocations: 4 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.893e-05/0.1393, allocations: 15.94 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.1395, allocations: 189.6 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1397, allocations: 58.5 kB / 473.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.1397, allocations: 20.84 kB / 473.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.1398, allocations: 4 kB / 473.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.14, allocations: 63.39 kB / 473.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.14, allocations: 0 / 473.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002749/0.1403, allocations: 93.52 kB / 473.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.1403, allocations: 55.41 kB / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.1405, allocations: 190.1 kB / 473.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.1405, allocations: 25.7 kB / 473.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.1406, allocations: 96.14 kB / 474 MB, free: 9.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.1406, allocations: 19.8 kB / 474 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.1406, allocations: 21.72 kB / 474 MB, free: 9.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1408, allocations: 322.8 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.126e-05/0.1408, allocations: 15.98 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.206e-05/0.1409, allocations: 29.66 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.018e-05/0.141, allocations: 45.64 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.141, allocations: 3.938 kB / 474.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001534/0.1411, allocations: 81.59 kB / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1412, allocations: 8 kB / 474.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1412, allocations: 0 / 474.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1412, allocations: 0 / 474.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.218e-05/0.1413, allocations: 15.92 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1413, allocations: 4 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.938e-05/0.1413, allocations: 0 / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1414, allocations: 4 kB / 474.6 MB, free: 8.785 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 (7): * Single equations (assignments): 7 * 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.0001029/0.1415, allocations: 129.8 kB / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.1415, allocations: 11.81 kB / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/0.1415, allocations: 12.31 kB / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1415, allocations: 320 / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1415, allocations: 0 / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1416, allocations: 7.984 kB / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.1417, allocations: 193.5 kB / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1417, allocations: 0 / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.1417, allocations: 4 kB / 474.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1418, allocations: 3.938 kB / 474.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.1418, allocations: 4 kB / 474.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1418, allocations: 4.156 kB / 474.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1418, allocations: 0 / 474.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.142, allocations: 112.9 kB / 475 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.142, allocations: 81.02 kB / 475.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.142, allocations: 7.984 kB / 475.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-05/0.1421, allocations: 0 / 475.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.1421, allocations: 7.984 kB / 475.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.1421, allocations: 8 kB / 475.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.1423, allocations: 143.2 kB / 475.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1423, allocations: 0 / 475.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.1425, allocations: 12 kB / 475.3 MB, free: 7.957 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001283/0.1438, allocations: 0.9464 MB / 476.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.1439, allocations: 39.97 kB / 476.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1439, allocations: 0 / 476.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.803e-05/0.144, allocations: 19.94 kB / 476.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.1443, allocations: 35.12 kB / 476.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.1458, allocations: 1.481 MB / 477.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.1461, allocations: 0.7002 MB / 478.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.346e-05/0.1462, allocations: 12.55 kB / 478.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.1463, allocations: 27.44 kB / 478.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1463, allocations: 4 kB / 478.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.1685, allocations: 2.999 MB / 481.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/7.527, allocations: 9.453 kB / 481.6 MB, free: 1.785 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches