Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2429/0.2429, allocations: 46.93 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.91 kB / 0.491 GB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1532, allocations: 65.99 MB / 0.5555 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003688/0.1569, allocations: 1.741 MB / 0.5572 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.1588, allocations: 1.038 MB / 0.5582 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1589, allocations: 0 / 0.5582 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.1593, allocations: 51.69 kB / 0.5582 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.1596, allocations: 99.59 kB / 0.5583 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.1599, allocations: 79.67 kB / 0.5584 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.1601, allocations: 107.6 kB / 0.5585 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1602, allocations: 11.98 kB / 0.5585 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1603, allocations: 47.8 kB / 0.5585 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.051e-05/0.1604, allocations: 31.83 kB / 0.5586 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.1604, allocations: 4 kB / 0.5586 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1606, allocations: 43.98 kB / 0.5586 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.1606, allocations: 31.8 kB / 0.5587 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.765e-05/0.1607, allocations: 47.66 kB / 0.5587 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.1609, allocations: 131.4 kB / 0.5588 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.161, allocations: 0 / 0.5588 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.161, allocations: 4 kB / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.161, allocations: 0 / 0.5588 GB, free: 2.312 MB / 414.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.0006608/0.1616, allocations: 454.3 kB / 0.5593 GB, free: 1.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1617, allocations: 12.03 kB / 0.5593 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.1617, allocations: 34.75 kB / 0.5593 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.1618, allocations: 16.84 kB / 0.5593 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.1621, allocations: 217 kB / 0.5595 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1621, allocations: 4.375 kB / 0.5595 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.1621, allocations: 11.92 kB / 0.5595 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1623, allocations: 57.66 kB / 0.5596 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1623, allocations: 4 kB / 0.5596 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1623, allocations: 4 kB / 0.5596 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1623, allocations: 0 / 0.5596 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.935e-05/0.1624, allocations: 15.98 kB / 0.5596 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.1628, allocations: 300.8 kB / 0.5599 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.163, allocations: 62.61 kB / 0.56 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.288e-05/0.163, allocations: 16.84 kB / 0.56 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.163, allocations: 4 kB / 0.56 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.1632, allocations: 63.39 kB / 0.56 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1632, allocations: 0 / 0.56 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005891/0.1638, allocations: 193.6 kB / 0.5602 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.1638, allocations: 51.41 kB / 0.5603 GB, free: 0.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.1641, allocations: 278.7 kB / 0.5605 GB, free: 348 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1641, allocations: 25.7 kB / 0.5606 GB, free: 316 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.1642, allocations: 120 kB / 0.5607 GB, free: 192 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.1642, allocations: 27.78 kB / 0.5607 GB, free: 164 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.1643, allocations: 21.66 kB / 0.5607 GB, free: 136 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1644, allocations: 330.8 kB / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-05/0.1645, allocations: 28.05 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.518e-05/0.1646, allocations: 41.64 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.1647, allocations: 53.7 kB / 0.5612 GB, free: 15.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1647, allocations: 0 / 0.5612 GB, free: 15.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001949/0.1649, allocations: 109.5 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1649, allocations: 9.875 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1649, allocations: 4.031 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1649, allocations: 0 / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.165, allocations: 19.92 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.165, allocations: 4 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.1651, allocations: 3.938 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1651, allocations: 8 kB / 0.5613 GB, free: 15.51 MB / 430.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.0001308/0.1652, allocations: 136 kB / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.1652, allocations: 11.91 kB / 0.5615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.813e-05/0.1653, allocations: 21.39 kB / 0.5615 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1653, allocations: 8 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1653, allocations: 0 / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1653, allocations: 3.938 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.1658, allocations: 403.3 kB / 0.5619 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1658, allocations: 0 / 0.5619 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.1659, allocations: 11.98 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1659, allocations: 3.938 kB / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1659, allocations: 4 kB / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1659, allocations: 4.031 kB / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1659, allocations: 0 / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.1661, allocations: 212.2 kB / 0.5621 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.1662, allocations: 89.02 kB / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.1662, allocations: 7.922 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.1663, allocations: 4 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.1663, allocations: 12 kB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.1664, allocations: 3.984 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.1665, allocations: 204.5 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1665, allocations: 0 / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1668, allocations: 23.94 kB / 0.5624 GB, free: 14.26 MB / 430.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.002231/0.169, allocations: 1.106 MB / 0.5635 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.1692, allocations: 51.92 kB / 0.5636 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1692, allocations: 4.062 kB / 0.5636 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.678e-05/0.1693, allocations: 23.98 kB / 0.5636 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.1697, allocations: 38.14 kB / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.1721, allocations: 1.851 MB / 0.5654 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.1725, allocations: 0.7235 MB / 0.5661 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.669e-05/0.1726, allocations: 17.17 kB / 0.5662 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.673e-05/0.1727, allocations: 39.42 kB / 0.5662 GB, free: 10.46 MB / 430.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1727, allocations: 4 kB / 0.5662 GB, free: 10.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.1982, allocations: 3.813 MB / 0.5699 GB, free: 6.695 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.077, allocations: 7.078 kB / 0.5699 GB, free: 6.691 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498107 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.451913960991078]