Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.001167/0.001167, 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.0008635/0.0008635, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.897/0.897, allocations: 177 MB / 204.1 MB, free: 5.762 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.2428/0.2428, allocations: 34.23 MB / 294.8 MB, free: 0.7227 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.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 442.2 MB, free: 1.508 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.766e-05, allocations: 2.281 kB / 442.2 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.1811/0.1811, allocations: 1.782 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.1829, allocations: 1.743 MB / 445.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.524e-05/0.183, allocations: 2.75 kB / 445.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.1833, allocations: 60.25 kB / 445.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.1836, allocations: 143.2 kB / 446 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.1837, allocations: 109.2 kB / 446.1 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.1839, allocations: 206.5 kB / 446.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.1839, allocations: 8.547 kB / 446.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.184, allocations: 109.9 kB / 446.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1841, allocations: 69.05 kB / 446.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1841, allocations: 10.78 kB / 446.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1843, allocations: 106.9 kB / 446.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.1843, allocations: 38.91 kB / 446.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.1844, allocations: 41.84 kB / 446.6 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.1846, allocations: 234.3 kB / 446.9 MB, free: 42.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1846, allocations: 0.7188 kB / 446.9 MB, free: 42.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1846, allocations: 0 / 446.9 MB, free: 42.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1846, allocations: 1.812 kB / 446.9 MB, free: 42.28 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004161/0.185, allocations: 424.4 kB / 447.3 MB, free: 41.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.185, allocations: 7.969 kB / 447.3 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.254e-05/0.185, allocations: 37.31 kB / 447.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.1851, allocations: 24.61 kB / 447.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.1853, allocations: 193.6 kB / 447.5 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1854, allocations: 10.06 kB / 447.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.1854, allocations: 3.344 kB / 447.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1855, allocations: 148.8 kB / 447.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.1855, allocations: 3.469 kB / 447.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1855, allocations: 8.078 kB / 447.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1855, allocations: 0 / 447.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.347e-05/0.1856, allocations: 37.75 kB / 447.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.1857, allocations: 184.8 kB / 447.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.1859, allocations: 109.1 kB / 448 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.444e-05/0.1859, allocations: 38.39 kB / 448.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.1859, allocations: 5.5 kB / 448.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.1861, allocations: 113.3 kB / 448.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 7.72e-07/0.1861, allocations: 0 / 448.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002475/0.1863, allocations: 181.7 kB / 448.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.1863, allocations: 135.3 kB / 448.5 MB, free: 40.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.1865, allocations: 247.4 kB / 448.7 MB, free: 40.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.1865, allocations: 28.86 kB / 448.8 MB, free: 40.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.1865, allocations: 116.4 kB / 448.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.1865, allocations: 33.05 kB / 448.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.1866, allocations: 25.38 kB / 448.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.08e-05/0.1866, allocations: 334.8 kB / 449.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-05/0.1866, allocations: 31.73 kB / 449.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.516e-05/0.1867, allocations: 123 kB / 449.4 MB, free: 40.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.636e-05/0.1868, allocations: 96.53 kB / 449.5 MB, free: 40.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1868, allocations: 2.75 kB / 449.5 MB, free: 40.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001313/0.1869, allocations: 136.8 kB / 449.6 MB, free: 40.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.1869, allocations: 5.781 kB / 449.7 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1869, allocations: 6.906 kB / 449.7 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1869, allocations: 3.375 kB / 449.7 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.187, allocations: 27.89 kB / 449.7 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.187, allocations: 2.812 kB / 449.7 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.1871, allocations: 17.7 kB / 449.7 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1871, allocations: 3.406 kB / 449.7 MB, free: 40 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.645e-05/0.1871, allocations: 136.2 kB / 449.8 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.1871, allocations: 23.25 kB / 449.9 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.1873, allocations: 161.9 kB / 450 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1873, allocations: 2.844 kB / 450 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1873, allocations: 3.312 kB / 450 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1873, allocations: 0.8438 kB / 450 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.47e-05/0.1874, allocations: 185.5 kB / 450.2 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1874, allocations: 6.781 kB / 450.2 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.1874, allocations: 15.72 kB / 450.2 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1874, allocations: 0 / 450.2 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.1874, allocations: 6.812 kB / 450.2 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1875, allocations: 0 / 450.2 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1875, allocations: 5.062 kB / 450.2 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.1876, allocations: 179.1 kB / 450.4 MB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.1876, allocations: 22.16 kB / 450.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.1876, allocations: 6.688 kB / 450.5 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.551e-05/0.1877, allocations: 10.81 kB / 450.5 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.1877, allocations: 16.12 kB / 450.5 MB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.1877, allocations: 9.906 kB / 450.5 MB, free: 39.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.982e-05/0.1878, allocations: 187.4 kB / 450.7 MB, free: 39.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1878, allocations: 0 / 450.7 MB, free: 39.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000175/0.188, allocations: 54.72 kB / 450.7 MB, free: 39.34 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009435/0.1889, allocations: 1.15 MB / 451.9 MB, free: 38.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.1891, allocations: 91.23 kB / 452 MB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1891, allocations: 128 / 452 MB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.147e-05/0.1891, allocations: 48.05 kB / 452 MB, free: 38.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.1893, allocations: 55.12 kB / 452.1 MB, free: 38.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.1905, allocations: 1.915 MB / 454 MB, free: 37.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.473e-05/0.1905, allocations: 111 kB / 454.1 MB, free: 37.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.787e-05/0.1906, allocations: 34.2 kB / 454.1 MB, free: 37.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.1907, allocations: 57.33 kB / 454.2 MB, free: 36.97 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1907, allocations: 3.938 kB / 454.2 MB, free: 36.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.2081, allocations: 6.363 MB / 460.5 MB, free: 35.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.786/6.994, allocations: 10.28 kB / 460.6 MB, free: 35.23 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.947541463188827]