Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008801/0.0008801, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008444/0.0008444, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8789/0.8789, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 442.2 MB, free: 1.492 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.298e-05, allocations: 14.16 kB / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.1643/0.1643, allocations: 1.915 MB / 444.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1655, allocations: 1.143 MB / 445.3 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.976e-05/0.1656, allocations: 0 / 445.3 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005952/0.1662, allocations: 207.9 kB / 445.5 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.1665, allocations: 216.3 kB / 445.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.1667, allocations: 155.7 kB / 445.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.1669, allocations: 278.2 kB / 446.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1671, allocations: 16.72 kB / 446.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.1672, allocations: 142.1 kB / 446.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1673, allocations: 107.5 kB / 446.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1673, allocations: 12.75 kB / 446.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1674, allocations: 58.5 kB / 446.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/0.1675, allocations: 64.02 kB / 446.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.1675, allocations: 50.39 kB / 446.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1677, allocations: 245.2 kB / 446.8 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1677, allocations: 0.5938 kB / 446.8 MB, free: 42.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1677, allocations: 3.188 kB / 446.8 MB, free: 42.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.1677, allocations: 2.938 kB / 446.8 MB, free: 42.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005742/0.1683, allocations: 492 kB / 447.3 MB, free: 42.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1683, allocations: 8.656 kB / 447.3 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.925e-05/0.1684, allocations: 37.66 kB / 447.3 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.1684, allocations: 26.31 kB / 447.4 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.1687, allocations: 233.6 kB / 447.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1687, allocations: 12.11 kB / 447.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.1687, allocations: 3.344 kB / 447.6 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1689, allocations: 100.1 kB / 447.7 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1689, allocations: 192 / 447.7 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1689, allocations: 8.125 kB / 447.7 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1689, allocations: 2.875 kB / 447.7 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.969e-05/0.169, allocations: 49.92 kB / 447.8 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.1693, allocations: 333.6 kB / 448.1 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.1695, allocations: 122.4 kB / 448.2 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.1695, allocations: 40.41 kB / 448.3 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.1695, allocations: 0 / 448.3 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.1697, allocations: 124.5 kB / 448.4 MB, free: 41.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 9.62e-07/0.1697, allocations: 0 / 448.4 MB, free: 41.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002882/0.17, allocations: 193.1 kB / 448.6 MB, free: 41.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.17, allocations: 79.86 kB / 448.6 MB, free: 41.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.1702, allocations: 363.9 kB / 449 MB, free: 40.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.1702, allocations: 28.61 kB / 449 MB, free: 40.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.1703, allocations: 138.4 kB / 449.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.1703, allocations: 36.95 kB / 449.2 MB, free: 40.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.1703, allocations: 29.73 kB / 449.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.03e-05/0.1704, allocations: 342.2 kB / 449.6 MB, free: 40.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.598e-05/0.1704, allocations: 37.66 kB / 449.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.655e-05/0.1705, allocations: 98 kB / 449.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1706, allocations: 97.91 kB / 449.8 MB, free: 40.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.1706, allocations: 6.844 kB / 449.8 MB, free: 40.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001554/0.1708, allocations: 155.7 kB / 450 MB, free: 40.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1708, allocations: 11.47 kB / 450 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1708, allocations: 0 / 450 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1708, allocations: 6.875 kB / 450 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.278e-05/0.1709, allocations: 20.44 kB / 450 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1709, allocations: 0 / 450 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.1709, allocations: 19.3 kB / 450 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.1709, allocations: 5.781 kB / 450 MB, free: 40.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.459e-05/0.171, allocations: 156 kB / 450.2 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.171, allocations: 23.23 kB / 450.2 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.1713, allocations: 175.6 kB / 450.4 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1713, allocations: 1.547 kB / 450.4 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1713, allocations: 6.125 kB / 450.4 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1713, allocations: 3.938 kB / 450.4 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.1714, allocations: 221.8 kB / 450.6 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1714, allocations: 3.938 kB / 450.6 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.1714, allocations: 8.688 kB / 450.6 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.1714, allocations: 6.078 kB / 450.6 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1714, allocations: 4 kB / 450.6 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1714, allocations: 2.344 kB / 450.6 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1714, allocations: 6.344 kB / 450.6 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.1716, allocations: 205.1 kB / 450.8 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.1716, allocations: 20.42 kB / 450.8 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.1717, allocations: 4 kB / 450.8 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.776e-05/0.1717, allocations: 8.75 kB / 450.9 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.1717, allocations: 13.62 kB / 450.9 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1717, allocations: 5.875 kB / 450.9 MB, free: 39.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000143/0.1719, allocations: 265.5 kB / 451.1 MB, free: 39.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1719, allocations: 0 / 451.1 MB, free: 39.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001751/0.1721, allocations: 40.78 kB / 451.2 MB, free: 39.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009434/0.173, allocations: 1.078 MB / 452.2 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.1732, allocations: 91.45 kB / 452.3 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1732, allocations: 0 / 452.3 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.372e-05/0.1732, allocations: 51.55 kB / 452.4 MB, free: 38.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.1735, allocations: 64.05 kB / 452.5 MB, free: 38.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.1751, allocations: 2.385 MB / 454.8 MB, free: 37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.007e-05/0.1752, allocations: 139 kB / 455 MB, free: 36.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.699e-05/0.1752, allocations: 36.7 kB / 455 MB, free: 36.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.66e-05/0.1753, allocations: 69.52 kB / 455.1 MB, free: 36.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1753, allocations: 0 / 455.1 MB, free: 36.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.1932, allocations: 6.746 MB / 461.8 MB, free: 35.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.038/7.231, allocations: 15.11 kB / 461.8 MB, free: 35.16 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv --start-time 1 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable booleanTable.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv. Warning: Get data of variable booleanTable.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv failed! Error: Could not read variable booleanTable.realToBoolean.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv. Warning: Get data of variable booleanTable.realToBoolean.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.268860567361116]