Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.001001/0.001001, allocations: 88.27 kB / 20.77 MB, free: 3.754 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.001021/0.001021, allocations: 160.9 kB / 24.06 MB, free: 476 kB / 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.906/0.906, allocations: 177 MB / 204.2 MB, free: 5.695 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.2652/0.2652, allocations: 34.24 MB / 295 MB, free: 0.6875 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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 442.5 MB, free: 1.367 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.228e-05, allocations: 2.281 kB / 442.5 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.1755/0.1755, allocations: 1.715 MB / 444.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1766, allocations: 0.9709 MB / 445.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.476e-05/0.1766, allocations: 0 / 445.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.1769, allocations: 86.48 kB / 445.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.1772, allocations: 120.1 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.1773, allocations: 82.94 kB / 445.4 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.1775, allocations: 117.2 kB / 445.5 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1776, allocations: 9.812 kB / 445.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.684e-05/0.1776, allocations: 66.34 kB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1778, allocations: 53.14 kB / 445.7 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.1778, allocations: 4.594 kB / 445.7 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.741e-05/0.1779, allocations: 54.25 kB / 445.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.1779, allocations: 23.39 kB / 445.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.178, allocations: 15.41 kB / 445.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1782, allocations: 122.3 kB / 445.9 MB, free: 42.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1782, allocations: 3.328 kB / 445.9 MB, free: 42.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1782, allocations: 1.188 kB / 445.9 MB, free: 42.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1782, allocations: 0 / 445.9 MB, free: 42.76 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.0004669/0.1786, allocations: 359.3 kB / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.1787, allocations: 10.97 kB / 446.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.1787, allocations: 36.56 kB / 446.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.1788, allocations: 14.09 kB / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.179, allocations: 162.2 kB / 446.5 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.179, allocations: 3.094 kB / 446.5 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.179, allocations: 384 / 446.5 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1792, allocations: 54.33 kB / 446.5 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1792, allocations: 4.812 kB / 446.5 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1792, allocations: 4.125 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1792, allocations: 0 / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.359e-05/0.1793, allocations: 25.52 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.1796, allocations: 253.4 kB / 446.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.1797, allocations: 60 kB / 446.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.1797, allocations: 26.84 kB / 446.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.1797, allocations: 2.688 kB / 446.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.1798, allocations: 70.53 kB / 447 MB, free: 41.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1798, allocations: 0 / 447 MB, free: 41.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004233/0.1803, allocations: 178.7 kB / 447.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.1803, allocations: 61.31 kB / 447.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.1804, allocations: 222.6 kB / 447.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.1804, allocations: 28.58 kB / 447.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.1805, allocations: 111.6 kB / 447.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.1805, allocations: 29.92 kB / 447.6 MB, free: 41.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.1805, allocations: 22.22 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.959e-05/0.1806, allocations: 327.8 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/0.1806, allocations: 19.66 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.724e-05/0.1806, allocations: 41.05 kB / 448 MB, free: 41.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/0.1807, allocations: 70.12 kB / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1807, allocations: 0 / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001129/0.1808, allocations: 102.7 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1808, allocations: 13.59 kB / 448.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1808, allocations: 0 / 448.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1809, allocations: 2.844 kB / 448.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.13e-05/0.1809, allocations: 15.19 kB / 448.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.1809, allocations: 2.875 kB / 448.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.081e-05/0.181, allocations: 3.812 kB / 448.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.181, allocations: 9.75 kB / 448.2 MB, free: 41.11 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.924e-05/0.181, allocations: 132 kB / 448.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.181, allocations: 14.39 kB / 448.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.1812, allocations: 126.4 kB / 448.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1812, allocations: 0 / 448.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1812, allocations: 2.844 kB / 448.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.1812, allocations: 0 / 448.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.1815, allocations: 373.1 kB / 448.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1815, allocations: 0 / 448.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.1815, allocations: 18.2 kB / 448.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1815, allocations: 0 / 448.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1815, allocations: 10.62 kB / 448.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1815, allocations: 0 / 448.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1815, allocations: 0 / 448.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.1816, allocations: 219.3 kB / 449.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.1817, allocations: 6.828 kB / 449.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.1817, allocations: 6.203 kB / 449.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.951e-05/0.1817, allocations: 6.844 kB / 449.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.1818, allocations: 10.03 kB / 449.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1818, allocations: 6.938 kB / 449.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.158e-05/0.1819, allocations: 172.6 kB / 449.3 MB, free: 40.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1819, allocations: 0 / 449.3 MB, free: 40.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001796/0.182, allocations: 30.7 kB / 449.3 MB, free: 40.32 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.0009712/0.183, allocations: 1.128 MB / 450.4 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.1831, allocations: 62.97 kB / 450.5 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1831, allocations: 0 / 450.5 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.628e-05/0.1832, allocations: 35.66 kB / 450.5 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.1834, allocations: 34.75 kB / 450.6 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009751/0.1844, allocations: 1.733 MB / 452.3 MB, free: 38.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.255e-05/0.1845, allocations: 106.7 kB / 452.4 MB, free: 38.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.639e-05/0.1845, allocations: 16.91 kB / 452.4 MB, free: 38.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.1846, allocations: 36.44 kB / 452.4 MB, free: 38.01 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1846, allocations: 0 / 452.4 MB, free: 38.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.2021, allocations: 4.378 MB / 456.8 MB, free: 36.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.968/7.17, allocations: 4 kB / 456.8 MB, free: 36.59 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.323628135025501]