Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.001817/0.001817, allocations: 120.8 kB / 18.45 MB, free: 4.461 MB / 14.72 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.002529/0.002529, allocations: 201 kB / 21.4 MB, free: 1.516 MB / 14.72 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 1.562/1.562, allocations: 227.4 MB / 251.6 MB, free: 48 kB / 190.1 MB " [Timeout remaining time 178] 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.2679/0.2679, allocations: 46.17 MB / 351.1 MB, free: 14.25 MB / 286.1 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 83.44 kB / 490.3 MB, free: 27.94 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.17, allocations: 62.44 MB / 0.5397 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004585/0.1747, allocations: 1.936 MB / 0.5416 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.1771, allocations: 1.059 MB / 0.5427 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.1773, allocations: 3.938 kB / 0.5427 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.1777, allocations: 51.7 kB / 0.5427 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004463/0.1782, allocations: 91.48 kB / 0.5428 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.1786, allocations: 99.64 kB / 0.5429 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.1789, allocations: 143.5 kB / 0.543 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.179, allocations: 37.47 kB / 0.5431 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.1792, allocations: 55.72 kB / 0.5431 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1793, allocations: 51.7 kB / 0.5432 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.1793, allocations: 8 kB / 0.5432 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.1795, allocations: 47.98 kB / 0.5432 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.1795, allocations: 19.92 kB / 0.5433 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.885e-05/0.1796, allocations: 59.55 kB / 0.5433 GB, free: 460 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.18, allocations: 151.4 kB / 0.5435 GB, free: 308 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.18, allocations: 0 / 0.5435 GB, free: 308 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.18, allocations: 0 / 0.5435 GB, free: 308 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.18, allocations: 4 kB / 0.5435 GB, free: 304 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000794/0.1808, allocations: 488.1 kB / 0.5439 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1808, allocations: 12.03 kB / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/0.1809, allocations: 16.84 kB / 0.544 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.1813, allocations: 236.8 kB / 0.5442 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1813, allocations: 8.359 kB / 0.5442 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.1813, allocations: 8.375 kB / 0.5442 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.1816, allocations: 106 kB / 0.5443 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1816, allocations: 15.91 kB / 0.5443 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1816, allocations: 0 / 0.5443 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1816, allocations: 0 / 0.5443 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.1818, allocations: 47.97 kB / 0.5444 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006534/0.1825, allocations: 0.5087 MB / 0.5449 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.1828, allocations: 82.66 kB / 0.5449 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.1829, allocations: 48.78 kB / 0.545 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.183, allocations: 3.938 kB / 0.545 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.1832, allocations: 83.38 kB / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.532e-06/0.1832, allocations: 0 / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004442/0.1837, allocations: 145.5 kB / 0.5452 GB, free: 14.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.1838, allocations: 51.41 kB / 0.5452 GB, free: 14.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.184, allocations: 206.2 kB / 0.5454 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.184, allocations: 29.7 kB / 0.5455 GB, free: 14.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1841, allocations: 124 kB / 0.5456 GB, free: 13.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.1842, allocations: 27.8 kB / 0.5456 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.1e-05/0.1842, allocations: 29.7 kB / 0.5456 GB, free: 13.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1844, allocations: 330.8 kB / 0.546 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.1845, allocations: 27.98 kB / 0.546 GB, free: 13.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.1847, allocations: 77.95 kB / 0.5461 GB, free: 13.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.1849, allocations: 96.22 kB / 0.5462 GB, free: 13.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1849, allocations: 0 / 0.5462 GB, free: 13.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002717/0.1852, allocations: 133.8 kB / 0.5463 GB, free: 13.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1852, allocations: 8.094 kB / 0.5463 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1852, allocations: 3.938 kB / 0.5463 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.1853, allocations: 4 kB / 0.5463 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1854, allocations: 23.92 kB / 0.5463 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1854, allocations: 4 kB / 0.5463 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.694e-05/0.1855, allocations: 27.94 kB / 0.5464 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1855, allocations: 4 kB / 0.5464 GB, free: 13.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 0.0001162/0.1856, allocations: 124.2 kB / 0.5465 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.1856, allocations: 15.91 kB / 0.5465 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.857e-05/0.1857, allocations: 17.39 kB / 0.5465 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1857, allocations: 4 kB / 0.5465 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1857, allocations: 0 / 0.5465 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1857, allocations: 3.938 kB / 0.5465 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.1859, allocations: 205.6 kB / 0.5467 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.186, allocations: 4 kB / 0.5467 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.967e-05/0.186, allocations: 19.92 kB / 0.5467 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1861, allocations: 4 kB / 0.5467 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1861, allocations: 0 / 0.5467 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1861, allocations: 0 / 0.5467 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1861, allocations: 0 / 0.5467 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.1865, allocations: 188.8 kB / 0.5469 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/0.1866, allocations: 92.98 kB / 0.547 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.1866, allocations: 4 kB / 0.547 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.381e-05/0.1867, allocations: 11.98 kB / 0.547 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.1867, allocations: 3.938 kB / 0.547 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.1868, allocations: 4 kB / 0.547 GB, free: 12.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1869, allocations: 148.4 kB / 0.5472 GB, free: 12.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1869, allocations: 0 / 0.5472 GB, free: 12.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.1872, allocations: 27.98 kB / 0.5472 GB, free: 12.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001605/0.1888, allocations: 418.7 kB / 0.5476 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002742/0.1891, allocations: 79.83 kB / 0.5477 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.1891, allocations: 4 kB / 0.5477 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.1892, allocations: 35.92 kB / 0.5477 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.1895, allocations: 52.25 kB / 0.5478 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.1902, allocations: 267.5 kB / 0.548 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.1906, allocations: 0.7123 MB / 0.5487 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.285e-05/0.1907, allocations: 17.42 kB / 0.5487 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.1907, allocations: 27.44 kB / 0.5488 GB, free: 10.59 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1907, allocations: 0 / 0.5488 GB, free: 10.59 MB / 414.1 MB Notification: Performance of Templates: time 0.006552/0.1973, allocations: 1.903 MB / 0.5506 GB, free: 8.699 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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: 5.424598349258304]