Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",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.001042/0.001042, 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.00102/0.00102, 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.481/1.481, allocations: 222.9 MB / 242.2 MB, free: 15.23 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.2405/0.2405, allocations: 44.19 MB / 336.6 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.73 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.149, allocations: 60.81 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003475/0.1525, allocations: 1.731 MB / 471.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.154, allocations: 0.8808 MB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.154, allocations: 0 / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.1544, allocations: 111.6 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.1546, allocations: 79.7 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.1549, allocations: 123.2 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.1551, allocations: 123.7 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.1552, allocations: 15.98 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.361e-05/0.1553, allocations: 59.77 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1554, allocations: 63.75 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.1555, allocations: 8 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.1556, allocations: 59.97 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.1557, allocations: 35.84 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.1557, allocations: 43.67 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.156, allocations: 147.8 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.156, allocations: 0 / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.156, allocations: 0 / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.156, allocations: 0 / 472.8 MB, free: 10.79 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005923/0.1566, allocations: 458.7 kB / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1566, allocations: 8.031 kB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.297e-05/0.1567, allocations: 30.75 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.1567, allocations: 16.75 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1569, allocations: 227.8 kB / 473.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.157, allocations: 384 / 473.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.157, allocations: 11.94 kB / 473.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1571, allocations: 61.66 kB / 473.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1572, allocations: 8 kB / 473.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1572, allocations: 4 kB / 473.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1572, allocations: 0 / 473.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1573, allocations: 27.92 kB / 473.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.1577, allocations: 324.7 kB / 474 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.158, allocations: 66.55 kB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.639e-05/0.1581, allocations: 36.88 kB / 474.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1581, allocations: 4 kB / 474.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.1583, allocations: 71.38 kB / 474.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.1583, allocations: 0 / 474.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007907/0.1591, allocations: 280.9 kB / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.1592, allocations: 59.34 kB / 474.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.1594, allocations: 247.2 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1594, allocations: 29.7 kB / 474.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.1595, allocations: 112.1 kB / 474.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.1595, allocations: 39.39 kB / 474.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.1596, allocations: 29.72 kB / 474.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1597, allocations: 330.8 kB / 475.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.189e-05/0.1598, allocations: 24 kB / 475.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.619e-05/0.1599, allocations: 61.62 kB / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.1601, allocations: 85.7 kB / 475.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1601, allocations: 0 / 475.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002366/0.1603, allocations: 145.4 kB / 475.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1603, allocations: 4 kB / 475.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1604, allocations: 0 / 475.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1604, allocations: 0 / 475.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.1605, allocations: 35.95 kB / 475.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1605, allocations: 0 / 475.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.1605, allocations: 8 kB / 475.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.1606, allocations: 4 kB / 475.6 MB, free: 7.742 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 (14): * Single equations (assignments): 14 * 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.0001178/0.1607, allocations: 145.7 kB / 475.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.1607, allocations: 11.81 kB / 475.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.1608, allocations: 25.39 kB / 475.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1608, allocations: 3.938 kB / 475.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1608, allocations: 0 / 475.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1608, allocations: 4 kB / 475.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/0.1614, allocations: 476 kB / 476.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1614, allocations: 0 / 476.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-05/0.1614, allocations: 16 kB / 476.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1614, allocations: 4 kB / 476.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1615, allocations: 3.984 kB / 476.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1615, allocations: 12 kB / 476.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1615, allocations: 0 / 476.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.1618, allocations: 244.9 kB / 476.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.1618, allocations: 88.92 kB / 476.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.1619, allocations: 8 kB / 476.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/0.1619, allocations: 7.984 kB / 476.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.162, allocations: 11.98 kB / 476.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.162, allocations: 8 kB / 476.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.1622, allocations: 184.3 kB / 476.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1622, allocations: 3.938 kB / 476.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.1625, allocations: 35.98 kB / 476.9 MB, free: 6.363 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001743/0.1642, allocations: 1.189 MB / 478.1 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.1645, allocations: 99.83 kB / 478.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1645, allocations: 0 / 478.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.962e-05/0.1646, allocations: 48.11 kB / 478.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.165, allocations: 36.12 kB / 478.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.1673, allocations: 1.917 MB / 480.2 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.1677, allocations: 0.7123 MB / 480.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.879e-05/0.1678, allocations: 29.06 kB / 480.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.928e-05/0.1679, allocations: 47.42 kB / 481 MB, free: 2.34 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1679, allocations: 3.938 kB / 481 MB, free: 2.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.1896, allocations: 4.028 MB / 485 MB, free: 14.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/7.746, allocations: 6.188 kB / 485 MB, free: 14.39 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches