Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",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.001102/0.001102, 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.001136/0.001136, 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.459/1.459, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2511/0.2511, allocations: 44.18 MB / 336.6 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 64.66 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1327, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003132/0.1358, allocations: 1.7 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1373, allocations: 0.8769 MB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.1374, allocations: 7.938 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.1376, allocations: 79.75 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.1379, allocations: 79.66 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1382, allocations: 111.2 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1383, allocations: 111.7 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.1384, allocations: 16.23 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.198e-05/0.1385, allocations: 43.78 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1386, allocations: 63.75 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.1387, allocations: 4 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.299e-05/0.1388, allocations: 39.98 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.1388, allocations: 23.91 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/0.1389, allocations: 35.69 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.1391, allocations: 119.8 kB / 472.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1391, allocations: 0 / 472.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1391, allocations: 4 kB / 472.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1391, allocations: 0 / 472.7 MB, free: 10.96 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.0005314/0.1397, allocations: 418.9 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1397, allocations: 12.03 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.1398, allocations: 34.75 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.1398, allocations: 12.83 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.1401, allocations: 208 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1401, allocations: 384 / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.1401, allocations: 11.94 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1403, allocations: 53.67 kB / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1403, allocations: 0 / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1403, allocations: 7.984 kB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1403, allocations: 4 kB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.603e-05/0.1404, allocations: 19.92 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.1408, allocations: 284.9 kB / 473.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.141, allocations: 58.69 kB / 473.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.872e-05/0.141, allocations: 20.84 kB / 473.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.141, allocations: 3.938 kB / 473.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.1413, allocations: 71.39 kB / 473.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.1413, allocations: 3.938 kB / 473.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005281/0.1418, allocations: 181 kB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.1419, allocations: 51.41 kB / 474.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.1421, allocations: 215.4 kB / 474.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1421, allocations: 33.69 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.1422, allocations: 100.1 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.1422, allocations: 27.62 kB / 474.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.1423, allocations: 25.72 kB / 474.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1424, allocations: 322.8 kB / 474.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/0.1425, allocations: 27.98 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.115e-05/0.1425, allocations: 33.7 kB / 474.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.1426, allocations: 57.64 kB / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1426, allocations: 0 / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001799/0.1428, allocations: 105.6 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1429, allocations: 4.188 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1429, allocations: 8.031 kB / 475 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1429, allocations: 3.938 kB / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.143, allocations: 15.98 kB / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.143, allocations: 0 / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.143, allocations: 7.938 kB / 475.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1431, allocations: 8 kB / 475.1 MB, free: 8.312 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.0001185/0.1432, allocations: 121.8 kB / 475.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.1432, allocations: 19.8 kB / 475.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.916e-05/0.1433, allocations: 17.39 kB / 475.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1433, allocations: 8 kB / 475.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1433, allocations: 0 / 475.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1433, allocations: 7.875 kB / 475.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.1437, allocations: 387.4 kB / 475.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1438, allocations: 0 / 475.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.1438, allocations: 19.92 kB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.1438, allocations: 3.938 kB / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.1438, allocations: 4 kB / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1438, allocations: 4.031 kB / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1438, allocations: 0 / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.1441, allocations: 200.2 kB / 475.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.1441, allocations: 85.39 kB / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.1441, allocations: 7.875 kB / 475.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.1442, allocations: 11.98 kB / 475.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.1443, allocations: 11.94 kB / 476 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1443, allocations: 4 kB / 476 MB, free: 7.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1444, allocations: 168.2 kB / 476.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1444, allocations: 0 / 476.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1447, allocations: 24 kB / 476.1 MB, free: 7.125 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.001476/0.1462, allocations: 1.084 MB / 477.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.1464, allocations: 67.89 kB / 477.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1464, allocations: 4.062 kB / 477.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.1465, allocations: 31.92 kB / 477.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1468, allocations: 26.17 kB / 477.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.1487, allocations: 1.694 MB / 479.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.1491, allocations: 0.708 MB / 479.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.333e-05/0.1492, allocations: 16.55 kB / 479.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.1493, allocations: 39.42 kB / 479.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1493, allocations: 0 / 479.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.1696, allocations: 3.399 MB / 483.2 MB, free: 196 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/7.685, allocations: 7.984 kB / 483.2 MB, free: 188 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_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_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches