Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.0008821/0.0008821, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001403/0.001403, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9366/0.9366, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2692/0.2692, allocations: 32.79 MB / 293.5 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 3.938 kB / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.78e-05, allocations: 13.38 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.00211/0.002128, allocations: 1.704 MB / 441.4 MB, free: 2.438 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.003457, allocations: 0.9781 MB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.303e-05/0.00354, allocations: 3.938 kB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.003863, allocations: 43.81 kB / 442.4 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.00412, allocations: 111.4 kB / 442.5 MB, free: 1.297 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.004256, allocations: 71.67 kB / 442.6 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.004411, allocations: 107.6 kB / 442.7 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.004506, allocations: 4 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.785e-05/0.004584, allocations: 59.81 kB / 442.8 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.865e-05/0.004663, allocations: 23.92 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.004679, allocations: 4 kB / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.95e-05/0.004759, allocations: 51.84 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.004814, allocations: 27.86 kB / 442.9 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.00485, allocations: 19.92 kB / 442.9 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.005031, allocations: 135.5 kB / 443 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005033, allocations: 4 kB / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005034, allocations: 0 / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.005038, allocations: 0 / 443 MB, free: 0.7969 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005488/0.005587, allocations: 353.5 kB / 443.4 MB, free: 432 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.005625, allocations: 12.03 kB / 443.4 MB, free: 420 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.836e-05/0.005653, allocations: 34.69 kB / 443.4 MB, free: 376 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.005684, allocations: 12.89 kB / 443.4 MB, free: 364 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.00586, allocations: 154.3 kB / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.005869, allocations: 384 / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.005887, allocations: 8.312 kB / 443.6 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.005996, allocations: 65.97 kB / 443.6 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.006006, allocations: 0 / 443.6 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.006014, allocations: 4 kB / 443.6 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.006019, allocations: 0 / 443.6 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.158e-05/0.006071, allocations: 19.98 kB / 443.7 MB, free: 76 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1606/0.1667, allocations: 269.7 kB / 443.9 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.1669, allocations: 50.72 kB / 444 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.1669, allocations: 21.86 kB / 444 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1669, allocations: 10.5 kB / 444 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.167, allocations: 70.42 kB / 444.1 MB, free: 46.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.167, allocations: 0 / 444.1 MB, free: 46.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004213/0.1675, allocations: 181 kB / 444.3 MB, free: 46.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.1675, allocations: 54.28 kB / 444.3 MB, free: 46.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1676, allocations: 242 kB / 444.5 MB, free: 46.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.164e-06/0.1676, allocations: 27.39 kB / 444.6 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.462e-05/0.1677, allocations: 109.3 kB / 444.7 MB, free: 45.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.1677, allocations: 25.09 kB / 444.7 MB, free: 45.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.1677, allocations: 23.19 kB / 444.7 MB, free: 45.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.273e-05/0.1677, allocations: 327.2 kB / 445 MB, free: 45.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.413e-05/0.1678, allocations: 22.34 kB / 445.1 MB, free: 45.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.685e-05/0.1678, allocations: 40.98 kB / 445.1 MB, free: 45.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.242e-05/0.1679, allocations: 66.59 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1679, allocations: 2.625 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001061/0.168, allocations: 109.3 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.168, allocations: 3.438 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.168, allocations: 2.969 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.168, allocations: 3.203 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.066e-05/0.1681, allocations: 17.48 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1681, allocations: 3.203 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.1681, allocations: 5.75 kB / 445.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1681, allocations: 6.562 kB / 445.3 MB, free: 45.5 MB / 410.7 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 5.526e-05/0.1682, allocations: 134.3 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.1682, allocations: 19.09 kB / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.1683, allocations: 126.6 kB / 445.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1683, allocations: 2.781 kB / 445.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1683, allocations: 0 / 445.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1683, allocations: 0 / 445.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.1686, allocations: 384.3 kB / 446 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1686, allocations: 0 / 446 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.1686, allocations: 13.72 kB / 446 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.1686, allocations: 2.906 kB / 446 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.1686, allocations: 5.578 kB / 446 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1686, allocations: 2.969 kB / 446 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1686, allocations: 3.281 kB / 446 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.1687, allocations: 213.5 kB / 446.2 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.1687, allocations: 11 kB / 446.2 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.1687, allocations: 7.484 kB / 446.2 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.736e-05/0.1688, allocations: 7.25 kB / 446.2 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.1688, allocations: 6.188 kB / 446.2 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.1688, allocations: 6.266 kB / 446.2 MB, free: 44.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.324e-05/0.1689, allocations: 178.5 kB / 446.4 MB, free: 44.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1689, allocations: 2.844 kB / 446.4 MB, free: 44.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.1691, allocations: 33.59 kB / 446.5 MB, free: 44.77 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: 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 (9): * Single equations (assignments): 7 * 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.0008888/0.1699, allocations: 1.136 MB / 447.6 MB, free: 44.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.1701, allocations: 59.64 kB / 447.7 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.1701, allocations: 0 / 447.7 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.808e-05/0.1701, allocations: 37.48 kB / 447.7 MB, free: 44.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.1703, allocations: 25.52 kB / 447.7 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000997/0.1713, allocations: 1.779 MB / 449.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.553e-05/0.1714, allocations: 103.9 kB / 449.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.587e-05/0.1714, allocations: 17.53 kB / 449.6 MB, free: 42.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.1715, allocations: 41.27 kB / 449.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1715, allocations: 0 / 449.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.1859, allocations: 4.448 MB / 454.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/7.126, allocations: 5.969 kB / 454.1 MB, free: 41.09 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.297083283774555]