Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.0008985/0.0008985, 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.001078/0.001078, 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.9242/0.9242, allocations: 177 MB / 204.1 MB, free: 5.727 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.268/0.268, allocations: 34.24 MB / 294.8 MB, free: 0.6953 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.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 442.3 MB, free: 1.453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.091e-05, allocations: 2.281 kB / 442.3 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.1834/0.1834, allocations: 1.7 MB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1844, allocations: 0.9752 MB / 444.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.949e-05/0.1845, allocations: 0 / 444.9 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.1847, allocations: 51.72 kB / 445 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.185, allocations: 103.5 kB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.1851, allocations: 78.36 kB / 445.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.1852, allocations: 103.4 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.153e-05/0.1853, allocations: 10.53 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.619e-05/0.1853, allocations: 63.59 kB / 445.3 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.1854, allocations: 23.47 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1854, allocations: 6.469 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.351e-05/0.1855, allocations: 40.73 kB / 445.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.1855, allocations: 32.27 kB / 445.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.1855, allocations: 20.53 kB / 445.5 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.1857, allocations: 132.1 kB / 445.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.1857, allocations: 3.312 kB / 445.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1857, allocations: 0 / 445.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1857, allocations: 0 / 445.6 MB, free: 42.85 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.0003274/0.186, allocations: 354.4 kB / 445.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1861, allocations: 8.438 kB / 445.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.159e-05/0.1861, allocations: 33.94 kB / 446 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.1861, allocations: 16.2 kB / 446 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.1863, allocations: 165.1 kB / 446.1 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.1863, allocations: 5.219 kB / 446.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.1863, allocations: 6.188 kB / 446.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.132e-05/0.1864, allocations: 55.05 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1864, allocations: 192 / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.1864, allocations: 8 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1864, allocations: 0 / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.221e-05/0.1865, allocations: 23.31 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.1867, allocations: 259 kB / 446.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.818e-05/0.1868, allocations: 58.09 kB / 446.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/0.1868, allocations: 24.94 kB / 446.6 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.1868, allocations: 6.719 kB / 446.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.533e-05/0.1869, allocations: 69.28 kB / 446.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.1869, allocations: 3.938 kB / 446.7 MB, free: 41.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003401/0.1873, allocations: 178.9 kB / 446.8 MB, free: 41.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.1873, allocations: 58.28 kB / 446.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.1874, allocations: 236.8 kB / 447.1 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.1874, allocations: 33.58 kB / 447.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.1874, allocations: 110.7 kB / 447.3 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.1875, allocations: 36.36 kB / 447.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.1875, allocations: 22.97 kB / 447.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.882e-05/0.1875, allocations: 331 kB / 447.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.1876, allocations: 21.34 kB / 447.7 MB, free: 41.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.1876, allocations: 33.73 kB / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.616e-05/0.1877, allocations: 63.34 kB / 447.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1877, allocations: 0.8438 kB / 447.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001108/0.1878, allocations: 110.8 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1878, allocations: 2.906 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1878, allocations: 3 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1878, allocations: 4.031 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.1879, allocations: 19.02 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1879, allocations: 2.906 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.765e-05/0.1879, allocations: 3 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.1879, allocations: 3.812 kB / 447.9 MB, free: 41.2 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.556e-05/0.188, allocations: 133.7 kB / 448 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.188, allocations: 9.234 kB / 448 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.1881, allocations: 131.9 kB / 448.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1881, allocations: 0 / 448.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1881, allocations: 6.562 kB / 448.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1881, allocations: 5.688 kB / 448.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.1883, allocations: 373.4 kB / 448.5 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1883, allocations: 2.781 kB / 448.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.1884, allocations: 11.28 kB / 448.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1884, allocations: 0 / 448.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1884, allocations: 9.469 kB / 448.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1884, allocations: 0 / 448.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1884, allocations: 2.688 kB / 448.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.884e-05/0.1885, allocations: 220.6 kB / 448.8 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.1885, allocations: 13.5 kB / 448.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.1885, allocations: 3.141 kB / 448.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.849e-05/0.1885, allocations: 6.906 kB / 448.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.1886, allocations: 9.688 kB / 448.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.1886, allocations: 2.906 kB / 448.8 MB, free: 40.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.985e-05/0.1886, allocations: 188.2 kB / 449 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1886, allocations: 0 / 449 MB, free: 40.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001603/0.1888, allocations: 25.56 kB / 449 MB, free: 40.4 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.0008446/0.1897, allocations: 1.133 MB / 450.2 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.1898, allocations: 57.48 kB / 450.2 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.1898, allocations: 0 / 450.2 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.705e-05/0.1898, allocations: 28.05 kB / 450.2 MB, free: 39.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.19, allocations: 38.34 kB / 450.3 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009168/0.1909, allocations: 1.776 MB / 452.1 MB, free: 38.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.077e-05/0.191, allocations: 95.75 kB / 452.2 MB, free: 38.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.312e-05/0.191, allocations: 16.91 kB / 452.2 MB, free: 38.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.1911, allocations: 41.53 kB / 452.2 MB, free: 38.07 MB / 410.7 MB Notification: Performance of SimCode: time 4.7e-07/0.1911, allocations: 0 / 452.2 MB, free: 38.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.2092, allocations: 4.443 MB / 456.7 MB, free: 36.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.638/6.847, allocations: 2.922 kB / 456.7 MB, free: 36.63 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.875495206564665]