Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.0012/0.0012, allocations: 80.34 kB / 20.67 MB, free: 3.887 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.001003/0.001003, allocations: 156.9 kB / 23.94 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.9109/0.9109, 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.2548/0.2548, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 442.2 MB, free: 1.469 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.513e-05, allocations: 2.281 kB / 442.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.1704/0.1704, allocations: 1.705 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1718, allocations: 1.679 MB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.1719, allocations: 2.906 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.1722, allocations: 41.31 kB / 445.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.1724, allocations: 100.3 kB / 445.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.1725, allocations: 79.88 kB / 445.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.1727, allocations: 118.4 kB / 446 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.811e-05/0.1728, allocations: 13.05 kB / 446 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.923e-05/0.1728, allocations: 56 kB / 446 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.632e-05/0.1729, allocations: 43.38 kB / 446.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.1729, allocations: 8.75 kB / 446.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.173, allocations: 106.1 kB / 446.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.1731, allocations: 24.27 kB / 446.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.1731, allocations: 19.47 kB / 446.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1733, allocations: 187.4 kB / 446.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1733, allocations: 0 / 446.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1733, allocations: 0 / 446.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1733, allocations: 3.594 kB / 446.4 MB, free: 42.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003628/0.1737, allocations: 369.4 kB / 446.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.1737, allocations: 9.781 kB / 446.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.018e-05/0.1737, allocations: 38.69 kB / 446.8 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.1738, allocations: 14 kB / 446.8 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.1739, allocations: 148.4 kB / 447 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.1739, allocations: 384 / 447 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.1739, allocations: 3.469 kB / 447 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.1741, allocations: 113.4 kB / 447.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1741, allocations: 192 / 447.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1741, allocations: 4.125 kB / 447.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1741, allocations: 0 / 447.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.45e-05/0.1742, allocations: 35.56 kB / 447.1 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.1744, allocations: 272.1 kB / 447.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.1746, allocations: 73.44 kB / 447.5 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.1746, allocations: 27.88 kB / 447.5 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.1746, allocations: 10.58 kB / 447.5 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.1747, allocations: 74.42 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1747, allocations: 0 / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004661/0.1752, allocations: 206.4 kB / 447.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.1752, allocations: 86.84 kB / 447.9 MB, free: 41.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1753, allocations: 183.3 kB / 448 MB, free: 41.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.1754, allocations: 25.7 kB / 448.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.1754, allocations: 100.7 kB / 448.2 MB, free: 41.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.1754, allocations: 32.59 kB / 448.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.1755, allocations: 23.56 kB / 448.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.1755, allocations: 323.8 kB / 448.5 MB, free: 40.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.304e-05/0.1755, allocations: 26.98 kB / 448.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.786e-05/0.1756, allocations: 77.97 kB / 448.6 MB, free: 40.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.031e-05/0.1757, allocations: 80.27 kB / 448.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1757, allocations: 4.031 kB / 448.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001428/0.1758, allocations: 129.7 kB / 448.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1759, allocations: 5.281 kB / 448.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1759, allocations: 2.344 kB / 448.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1759, allocations: 2.656 kB / 448.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.176, allocations: 16.91 kB / 448.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.176, allocations: 0 / 448.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.432e-05/0.176, allocations: 2.594 kB / 448.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.176, allocations: 5.984 kB / 448.9 MB, free: 40.52 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 (11): * Single equations (assignments): 11 * 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.104e-05/0.1761, allocations: 135.1 kB / 449 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.1761, allocations: 9.578 kB / 449 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.1763, allocations: 138.7 kB / 449.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1763, allocations: 0 / 449.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1763, allocations: 0 / 449.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1763, allocations: 6.281 kB / 449.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.1766, allocations: 399 kB / 449.6 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1766, allocations: 0 / 449.6 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.1767, allocations: 26.95 kB / 449.6 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1767, allocations: 4.031 kB / 449.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1767, allocations: 2.812 kB / 449.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1767, allocations: 5.812 kB / 449.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1767, allocations: 0 / 449.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.1768, allocations: 228.5 kB / 449.8 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.1768, allocations: 18.75 kB / 449.8 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.1768, allocations: 2.938 kB / 449.8 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.43e-05/0.1769, allocations: 10.09 kB / 449.9 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.1769, allocations: 17.58 kB / 449.9 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1769, allocations: 3.094 kB / 449.9 MB, free: 39.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.905e-05/0.177, allocations: 140.9 kB / 450 MB, free: 39.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.177, allocations: 4 kB / 450 MB, free: 39.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002001/0.1772, allocations: 48.86 kB / 450.1 MB, free: 39.66 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 (11): * Single equations (assignments): 9 * 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.001046/0.1782, allocations: 1.24 MB / 451.3 MB, free: 38.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.1784, allocations: 79.55 kB / 451.4 MB, free: 38.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1784, allocations: 0 / 451.4 MB, free: 38.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.302e-05/0.1785, allocations: 38.89 kB / 451.4 MB, free: 38.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.1787, allocations: 33.72 kB / 451.5 MB, free: 38.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.1798, allocations: 1.695 MB / 453.1 MB, free: 37.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.403e-05/0.1799, allocations: 101 kB / 453.2 MB, free: 37.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.453e-05/0.1799, allocations: 19.39 kB / 453.3 MB, free: 37.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.18, allocations: 46.28 kB / 453.3 MB, free: 37.3 MB / 410.7 MB Notification: Performance of SimCode: time 6.52e-07/0.18, allocations: 0 / 453.3 MB, free: 37.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.1964, allocations: 5.117 MB / 458.4 MB, free: 35.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.316, allocations: 0 / 458.4 MB, free: 35.72 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.44798466656357]