Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.002266/0.002266, allocations: 120.8 kB / 18.45 MB, free: 4.59 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.002821/0.002821, allocations: 209 kB / 21.4 MB, free: 1.645 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.567/1.567, allocations: 227.4 MB / 251.6 MB, free: 36 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.2631/0.2631, allocations: 46.17 MB / 351.1 MB, free: 14.24 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 88.19 kB / 490.3 MB, free: 27.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1894, allocations: 62.45 MB / 0.5398 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.004736/0.1942, allocations: 1.684 MB / 0.5414 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.197, allocations: 1.006 MB / 0.5424 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.633e-05/0.1971, allocations: 3.938 kB / 0.5424 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.1975, allocations: 63.78 kB / 0.5424 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004659/0.198, allocations: 107.5 kB / 0.5425 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.1983, allocations: 75.67 kB / 0.5426 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.1985, allocations: 103.7 kB / 0.5427 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.877e-05/0.1986, allocations: 8.234 kB / 0.5427 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1987, allocations: 47.78 kB / 0.5428 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.1988, allocations: 43.83 kB / 0.5428 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1989, allocations: 4 kB / 0.5428 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.199, allocations: 35.92 kB / 0.5429 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.199, allocations: 15.98 kB / 0.5429 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.261e-05/0.1991, allocations: 39.67 kB / 0.5429 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1994, allocations: 103.5 kB / 0.543 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1994, allocations: 0 / 0.543 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1994, allocations: 7.938 kB / 0.543 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1994, allocations: 0 / 0.543 GB, free: 0.6641 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005772/0.2, allocations: 421.7 kB / 0.5434 GB, free: 212 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.2001, allocations: 8.031 kB / 0.5434 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.2002, allocations: 12.84 kB / 0.5434 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.2005, allocations: 204.9 kB / 0.5436 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.2005, allocations: 384 / 0.5436 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.2005, allocations: 4.375 kB / 0.5436 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.2007, allocations: 57.92 kB / 0.5437 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2007, allocations: 0 / 0.5437 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.2007, allocations: 4 kB / 0.5437 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2007, allocations: 4 kB / 0.5437 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.43e-05/0.2008, allocations: 15.98 kB / 0.5437 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.201, allocations: 181.6 kB / 0.5439 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.2012, allocations: 50.61 kB / 0.5439 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.2013, allocations: 16.86 kB / 0.5439 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.2013, allocations: 7.938 kB / 0.544 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.2015, allocations: 75.31 kB / 0.544 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.2015, allocations: 0 / 0.544 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002752/0.2017, allocations: 89.81 kB / 0.5441 GB, free: 15.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.2018, allocations: 55.41 kB / 0.5442 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.202, allocations: 195.5 kB / 0.5444 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.202, allocations: 33.7 kB / 0.5444 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.2021, allocations: 104.1 kB / 0.5445 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.2021, allocations: 15.91 kB / 0.5445 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.2022, allocations: 13.72 kB / 0.5445 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.2023, allocations: 326.8 kB / 0.5448 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/0.2024, allocations: 19.97 kB / 0.5448 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.377e-05/0.2025, allocations: 37.75 kB / 0.5449 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.2026, allocations: 41.72 kB / 0.5449 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2026, allocations: 0 / 0.5449 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001635/0.2028, allocations: 93.45 kB / 0.545 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2028, allocations: 7.938 kB / 0.545 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2028, allocations: 0 / 0.545 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2028, allocations: 0 / 0.545 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.483e-05/0.2029, allocations: 12 kB / 0.545 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2029, allocations: 0 / 0.545 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.203, allocations: 12.02 kB / 0.545 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.203, allocations: 4 kB / 0.545 GB, free: 14.35 MB / 414.1 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 (7): * Single equations (assignments): 7 * 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.0001089/0.2031, allocations: 125.8 kB / 0.5452 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.2031, allocations: 11.89 kB / 0.5452 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.2032, allocations: 20.98 kB / 0.5452 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2032, allocations: 3.938 kB / 0.5452 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2032, allocations: 0 / 0.5452 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2032, allocations: 0 / 0.5452 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.2034, allocations: 185.6 kB / 0.5454 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2034, allocations: 4 kB / 0.5454 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.2034, allocations: 11.92 kB / 0.5454 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2034, allocations: 0 / 0.5454 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2034, allocations: 0 / 0.5454 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2034, allocations: 0 / 0.5454 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2034, allocations: 0 / 0.5454 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.2036, allocations: 117.1 kB / 0.5455 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.2037, allocations: 88.94 kB / 0.5456 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.2037, allocations: 8 kB / 0.5456 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.195e-05/0.2038, allocations: 0 / 0.5456 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.2038, allocations: 7.984 kB / 0.5456 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.2038, allocations: 0 / 0.5456 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.204, allocations: 152.2 kB / 0.5457 GB, free: 13.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.204, allocations: 0 / 0.5457 GB, free: 13.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000205/0.2042, allocations: 16 kB / 0.5458 GB, free: 13.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001466/0.2057, allocations: 391.2 kB / 0.5461 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.2059, allocations: 51.92 kB / 0.5462 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2059, allocations: 0 / 0.5462 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.49e-05/0.206, allocations: 23.97 kB / 0.5462 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.2062, allocations: 29.92 kB / 0.5462 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004788/0.2067, allocations: 213.8 kB / 0.5464 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.2071, allocations: 0.7041 MB / 0.5471 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.757e-05/0.2072, allocations: 8.422 kB / 0.5471 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.2072, allocations: 19.42 kB / 0.5472 GB, free: 12.17 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2072, allocations: 0 / 0.5472 GB, free: 12.17 MB / 414.1 MB Notification: Performance of Templates: time 0.004906/0.2122, allocations: 1.506 MB / 0.5486 GB, free: 10.68 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.3581598829478025]