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.0008257/0.0008257, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008138/0.0008138, allocations: 156.9 kB / 23.95 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.8958/0.8958, allocations: 177 MB / 204.1 MB, free: 5.754 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.2371/0.2371, allocations: 34.23 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.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 2.004e-06/2.004e-06, allocations: 0 / 442.2 MB, free: 1.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.719e-05, allocations: 12.55 kB / 442.2 MB, free: 1.488 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.1817/0.1817, allocations: 1.712 MB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1829, allocations: 0.9702 MB / 444.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.558e-05/0.1829, allocations: 0 / 444.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.1833, allocations: 91.12 kB / 445 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.1835, allocations: 120.9 kB / 445.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.1837, allocations: 74.81 kB / 445.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.1838, allocations: 119.9 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.184, allocations: 3.125 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.306e-05/0.184, allocations: 73.52 kB / 445.4 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.822e-05/0.1841, allocations: 58.08 kB / 445.5 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1842, allocations: 2.875 kB / 445.5 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.21e-05/0.1842, allocations: 43.42 kB / 445.5 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.1843, allocations: 27.86 kB / 445.5 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.1843, allocations: 23.56 kB / 445.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.1845, allocations: 119.1 kB / 445.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1845, allocations: 0 / 445.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1845, allocations: 5.844 kB / 445.7 MB, free: 42.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1845, allocations: 0 / 445.7 MB, free: 42.87 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.0005179/0.1851, allocations: 351.7 kB / 446 MB, free: 42.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.467e-05/0.1851, allocations: 7.969 kB / 446 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.124e-05/0.1852, allocations: 37.5 kB / 446.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.1852, allocations: 22.39 kB / 446.1 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.1855, allocations: 152.5 kB / 446.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1855, allocations: 384 / 446.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.1855, allocations: 8.281 kB / 446.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.1856, allocations: 57.67 kB / 446.3 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1856, allocations: 192 / 446.3 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.1856, allocations: 6.719 kB / 446.3 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1857, allocations: 0 / 446.3 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.429e-05/0.1857, allocations: 17.97 kB / 446.3 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.186, allocations: 261.2 kB / 446.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.1862, allocations: 52.92 kB / 446.6 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.1862, allocations: 28.36 kB / 446.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1863, allocations: 0.5 kB / 446.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.1864, allocations: 77.78 kB / 446.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.565e-06/0.1864, allocations: 0 / 446.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004793/0.1869, allocations: 187.1 kB / 446.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.1869, allocations: 51.41 kB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.187, allocations: 228.9 kB / 447.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.884e-06/0.187, allocations: 25.7 kB / 447.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.1871, allocations: 114.2 kB / 447.3 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.1871, allocations: 33.27 kB / 447.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.1871, allocations: 22.69 kB / 447.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.046e-05/0.1872, allocations: 326.6 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.043e-05/0.1872, allocations: 17.81 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.1873, allocations: 44.75 kB / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.825e-05/0.1873, allocations: 60.77 kB / 447.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1873, allocations: 3.938 kB / 447.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001124/0.1874, allocations: 104.7 kB / 447.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1875, allocations: 5.344 kB / 447.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1875, allocations: 0 / 447.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1875, allocations: 0.8906 kB / 447.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.1875, allocations: 21.38 kB / 448 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1875, allocations: 4.031 kB / 448 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.1876, allocations: 6.312 kB / 448 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.1876, allocations: 2.688 kB / 448 MB, free: 41.23 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.829e-05/0.1876, allocations: 134 kB / 448.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.1877, allocations: 12.17 kB / 448.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.1878, allocations: 129.7 kB / 448.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1878, allocations: 5.812 kB / 448.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1878, allocations: 0 / 448.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1878, allocations: 0 / 448.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.1881, allocations: 376.5 kB / 448.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1881, allocations: 0 / 448.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.1881, allocations: 12.36 kB / 448.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1881, allocations: 2.906 kB / 448.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1881, allocations: 4 kB / 448.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1881, allocations: 3 kB / 448.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1881, allocations: 0 / 448.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.1883, allocations: 218.8 kB / 448.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.1883, allocations: 6.828 kB / 448.9 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.1883, allocations: 2.75 kB / 448.9 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.993e-05/0.1883, allocations: 14.02 kB / 448.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.1884, allocations: 13.98 kB / 448.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1884, allocations: 6.875 kB / 448.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.543e-05/0.1884, allocations: 172.3 kB / 449.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1884, allocations: 0 / 449.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00018/0.1886, allocations: 31.5 kB / 449.1 MB, free: 40.42 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.001032/0.1897, allocations: 1.133 MB / 450.2 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.1898, allocations: 60.06 kB / 450.3 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1898, allocations: 0 / 450.3 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.502e-05/0.1899, allocations: 28.42 kB / 450.3 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1901, allocations: 35.56 kB / 450.3 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.1912, allocations: 1.736 MB / 452.1 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.394e-05/0.1912, allocations: 109 kB / 452.2 MB, free: 38.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.023e-05/0.1913, allocations: 13.58 kB / 452.2 MB, free: 38.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.1913, allocations: 33.55 kB / 452.2 MB, free: 38.11 MB / 410.7 MB Notification: Performance of SimCode: time 4.3e-07/0.1913, allocations: 0 / 452.2 MB, free: 38.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.2067, allocations: 4.394 MB / 456.6 MB, free: 36.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/6.893, allocations: 6.562 kB / 456.6 MB, free: 36.68 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.852753553539515]