Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",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.001392/0.001392, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001555/0.001555, allocations: 192 kB / 18.56 MB, free: 4.434 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.404/1.404, allocations: 222.9 MB / 242.3 MB, free: 15.19 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.2546/0.2546, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 68.19 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1442, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003284/0.1476, allocations: 1.704 MB / 471.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.1497, allocations: 1.483 MB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.561e-05/0.1499, allocations: 0 / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.1502, allocations: 39.7 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.1505, allocations: 59.77 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.1509, allocations: 111.6 kB / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.1511, allocations: 99.69 kB / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1512, allocations: 8.219 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.953e-05/0.1513, allocations: 43.78 kB / 472.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.1515, allocations: 39.84 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.1515, allocations: 4 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.1516, allocations: 71.89 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.1517, allocations: 11.94 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.1518, allocations: 31.8 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.152, allocations: 116 kB / 473.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.152, allocations: 3.938 kB / 473.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.152, allocations: 0 / 473.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.152, allocations: 0 / 473.2 MB, free: 10.44 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.0006363/0.1527, allocations: 407.2 kB / 473.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1527, allocations: 8.031 kB / 473.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.1528, allocations: 42.69 kB / 473.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.1528, allocations: 12.83 kB / 473.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.1531, allocations: 200.1 kB / 473.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1531, allocations: 384 / 473.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.1532, allocations: 11.92 kB / 473.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1533, allocations: 67.39 kB / 473.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1534, allocations: 0 / 473.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1534, allocations: 0 / 473.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1534, allocations: 0 / 473.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.241e-05/0.1535, allocations: 31.92 kB / 473.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.1539, allocations: 276.9 kB / 474.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.1541, allocations: 50.69 kB / 474.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.1541, allocations: 28.78 kB / 474.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1542, allocations: 4 kB / 474.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.1544, allocations: 67.33 kB / 474.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.1544, allocations: 0 / 474.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005528/0.155, allocations: 185.1 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.155, allocations: 81.11 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.1552, allocations: 149.8 kB / 474.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1552, allocations: 29.7 kB / 474.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.1553, allocations: 100.1 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.1553, allocations: 23.64 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.1554, allocations: 21.72 kB / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1555, allocations: 322.8 kB / 475.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.754e-05/0.1555, allocations: 23.98 kB / 475.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.296e-05/0.1556, allocations: 42.5 kB / 475.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1557, allocations: 65.67 kB / 475.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1557, allocations: 0 / 475.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001772/0.1559, allocations: 97.53 kB / 475.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1559, allocations: 4 kB / 475.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1559, allocations: 4 kB / 475.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.156, allocations: 0 / 475.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.98e-05/0.1561, allocations: 15.98 kB / 475.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1561, allocations: 0 / 475.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.046e-05/0.1561, allocations: 11.97 kB / 475.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1561, allocations: 4 kB / 475.5 MB, free: 7.836 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.978e-05/0.1563, allocations: 121.8 kB / 475.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.1563, allocations: 7.906 kB / 475.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.1563, allocations: 12.72 kB / 475.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1563, allocations: 4 kB / 475.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1563, allocations: 0 / 475.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1564, allocations: 7.922 kB / 475.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.1568, allocations: 395.3 kB / 476.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1568, allocations: 0 / 476.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.1568, allocations: 11.94 kB / 476.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1568, allocations: 3.938 kB / 476.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1569, allocations: 4 kB / 476.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1569, allocations: 0 / 476.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1569, allocations: 3.938 kB / 476.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.1571, allocations: 208.5 kB / 476.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.1572, allocations: 85 kB / 476.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.1572, allocations: 7.938 kB / 476.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.1573, allocations: 4.375 kB / 476.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.1573, allocations: 7.984 kB / 476.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1573, allocations: 11.94 kB / 476.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.514e-05/0.1574, allocations: 117.8 kB / 476.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1574, allocations: 8 kB / 476.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1577, allocations: 28 kB / 476.5 MB, free: 6.699 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.00159/0.1593, allocations: 1.125 MB / 477.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1595, allocations: 71.89 kB / 477.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1595, allocations: 0 / 477.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.768e-05/0.1596, allocations: 27.94 kB / 477.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.16, allocations: 32.22 kB / 477.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.1616, allocations: 1.55 MB / 479.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.1618, allocations: 0.6973 MB / 480 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.553e-05/0.1619, allocations: 16.89 kB / 480.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.162, allocations: 35.41 kB / 480.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.162, allocations: 0 / 480.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.1857, allocations: 3.471 MB / 483.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.501/7.686, allocations: 7.922 kB / 483.6 MB, free: 15.81 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_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_Test55.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches