Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.000914/0.000914, 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.001331/0.001331, allocations: 168.8 kB / 24.06 MB, free: 468 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.8814/0.8814, allocations: 177 MB / 204.2 MB, free: 5.738 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.2623/0.2623, allocations: 34.24 MB / 295 MB, free: 0.707 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.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 442.5 MB, free: 1.406 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.2e-05, allocations: 8.391 kB / 442.5 MB, free: 1.398 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.1746/0.1746, allocations: 1.709 MB / 444.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.176, allocations: 1.671 MB / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.227e-05/0.1761, allocations: 8.062 kB / 445.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.1762, allocations: 41.28 kB / 445.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.1763, allocations: 102 kB / 446 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.813e-05/0.1764, allocations: 79.17 kB / 446.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.824e-05/0.1765, allocations: 108.9 kB / 446.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.1765, allocations: 6.281 kB / 446.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.938e-05/0.1766, allocations: 56.56 kB / 446.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.686e-05/0.1767, allocations: 42.34 kB / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.1767, allocations: 11.72 kB / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.281e-05/0.1768, allocations: 99.42 kB / 446.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.1768, allocations: 25.12 kB / 446.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.037e-05/0.1768, allocations: 17.3 kB / 446.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.1769, allocations: 176.4 kB / 446.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.1769, allocations: 0 / 446.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1769, allocations: 2.812 kB / 446.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.1769, allocations: 3.219 kB / 446.6 MB, free: 42.52 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.0002219/0.1772, allocations: 352 kB / 447 MB, free: 42.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.18e-05/0.1772, allocations: 11.03 kB / 447 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.122e-05/0.1772, allocations: 42.11 kB / 447 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/0.1772, allocations: 13.91 kB / 447 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.1774, allocations: 140.8 kB / 447.2 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.6e-06/0.1774, allocations: 10.44 kB / 447.2 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.1774, allocations: 3.844 kB / 447.2 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.418e-05/0.1774, allocations: 96.03 kB / 447.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.099e-06/0.1774, allocations: 6.109 kB / 447.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-06/0.1774, allocations: 0 / 447.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-06/0.1775, allocations: 0 / 447.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.416e-05/0.1775, allocations: 26.28 kB / 447.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.1776, allocations: 256.7 kB / 447.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/0.1777, allocations: 53.14 kB / 447.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.396e-05/0.1777, allocations: 21.09 kB / 447.6 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.1777, allocations: 3.125 kB / 447.6 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.357e-05/0.1778, allocations: 75.34 kB / 447.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.32e-07/0.1778, allocations: 0 / 447.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002505/0.1781, allocations: 175.8 kB / 447.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.68e-05/0.1781, allocations: 80.08 kB / 447.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.509e-05/0.1782, allocations: 170.4 kB / 448.1 MB, free: 41.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.042e-06/0.1782, allocations: 25.7 kB / 448.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.882e-05/0.1782, allocations: 106 kB / 448.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.1782, allocations: 28.41 kB / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.1782, allocations: 22.34 kB / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.422e-05/0.1782, allocations: 325.1 kB / 448.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.755e-05/0.1783, allocations: 22.84 kB / 448.6 MB, free: 40.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.525e-05/0.1783, allocations: 69.22 kB / 448.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.714e-05/0.1784, allocations: 69.66 kB / 448.8 MB, free: 40.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.1784, allocations: 0 / 448.8 MB, free: 40.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.881e-05/0.1785, allocations: 108.2 kB / 448.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.233e-06/0.1785, allocations: 5.812 kB / 448.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-06/0.1785, allocations: 0 / 448.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.632e-06/0.1785, allocations: 6.141 kB / 448.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.094e-05/0.1785, allocations: 19.14 kB / 448.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.1785, allocations: 0 / 448.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.1785, allocations: 2.75 kB / 448.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.1785, allocations: 3.094 kB / 448.9 MB, free: 40.57 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 3.757e-05/0.1786, allocations: 127.3 kB / 449 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.1786, allocations: 10.11 kB / 449 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.1787, allocations: 119.9 kB / 449.2 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1787, allocations: 5.375 kB / 449.2 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1787, allocations: 0 / 449.2 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1787, allocations: 3.094 kB / 449.2 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.1789, allocations: 371.2 kB / 449.5 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1789, allocations: 2.719 kB / 449.5 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/0.1789, allocations: 15.36 kB / 449.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.1789, allocations: 0 / 449.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.1789, allocations: 2.75 kB / 449.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.1789, allocations: 4.031 kB / 449.6 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1789, allocations: 10.62 kB / 449.6 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.533e-05/0.179, allocations: 203.2 kB / 449.8 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.179, allocations: 12.81 kB / 449.8 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.1791, allocations: 7.938 kB / 449.8 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.862e-05/0.1791, allocations: 2.906 kB / 449.8 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.1791, allocations: 9.953 kB / 449.8 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1791, allocations: 5.719 kB / 449.8 MB, free: 39.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.236e-05/0.1792, allocations: 134 kB / 449.9 MB, free: 39.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1792, allocations: 0 / 449.9 MB, free: 39.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.1793, allocations: 58.28 kB / 450 MB, free: 39.75 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.0009466/0.1803, allocations: 1.219 MB / 451.2 MB, free: 38.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.1804, allocations: 60.83 kB / 451.3 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.81e-07/0.1804, allocations: 0 / 451.3 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.773e-05/0.1804, allocations: 39.39 kB / 451.3 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.1807, allocations: 36.42 kB / 451.3 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000849/0.1815, allocations: 1.609 MB / 452.9 MB, free: 37.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.34e-05/0.1816, allocations: 82.5 kB / 453 MB, free: 37.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.073e-05/0.1816, allocations: 31.33 kB / 453.1 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.1816, allocations: 36.53 kB / 453.1 MB, free: 37.43 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.1816, allocations: 3.219 kB / 453.1 MB, free: 37.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.1983, allocations: 4.888 MB / 458 MB, free: 35.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.843/7.041, allocations: 3.984 kB / 458 MB, free: 35.86 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.15241169091314]