Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.001256/0.001256, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001685/0.001685, allocations: 162.9 kB / 24.99 MB, free: 9.324 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 1.049/1.049, allocations: 177 MB / 205.2 MB, free: 5.156 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.25/0.25, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 3.938 kB / 378.8 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.906e-05, allocations: 9.125 kB / 378.8 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002425/0.002454, allocations: 1.758 MB / 380.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.003609, allocations: 1.009 MB / 381.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.003681, allocations: 3.938 kB / 381.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.003949, allocations: 43.77 kB / 381.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.004204, allocations: 95.48 kB / 381.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.00435, allocations: 79.59 kB / 381.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.004514, allocations: 111.6 kB / 381.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.732e-05/0.004601, allocations: 8 kB / 381.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.624e-05/0.004678, allocations: 51.84 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.71e-05/0.004745, allocations: 31.89 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.00476, allocations: 4 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.001e-05/0.00483, allocations: 43.92 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.004877, allocations: 19.92 kB / 382.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.004916, allocations: 27.86 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.005074, allocations: 95.59 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.005076, allocations: 0 / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.005077, allocations: 4 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.005081, allocations: 0 / 382.2 MB, free: 14.88 MB / 362.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.0006199/0.005701, allocations: 447.9 kB / 382.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.005737, allocations: 8.031 kB / 382.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.005786, allocations: 20.84 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.005956, allocations: 153.1 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.005976, allocations: 4.375 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.005994, allocations: 4.312 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.006117, allocations: 62.94 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.006127, allocations: 192 / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.006139, allocations: 4.375 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.006146, allocations: 7.875 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.497e-05/0.006181, allocations: 15.98 kB / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.00648, allocations: 283.8 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.006589, allocations: 59.09 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.006619, allocations: 19.69 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.00663, allocations: 0 / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.006732, allocations: 68.98 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.006733, allocations: 0 / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003764/0.00711, allocations: 153.4 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.00714, allocations: 55.41 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.007272, allocations: 238.3 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.007285, allocations: 25.7 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.007341, allocations: 150.9 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.007372, allocations: 27.78 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.007405, allocations: 27.38 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.007512, allocations: 0.5 MB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.694e-05/0.007539, allocations: 11.98 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.498e-05/0.007574, allocations: 35.36 kB / 384.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.859e-05/0.007633, allocations: 51.36 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.007634, allocations: 0 / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001058/0.00774, allocations: 97.47 kB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.007755, allocations: 8 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.007761, allocations: 3.984 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.007773, allocations: 0 / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.678e-05/0.00785, allocations: 12 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.007857, allocations: 7.938 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.729e-05/0.007884, allocations: 0 / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.007891, allocations: 4 kB / 384.7 MB, free: 12.13 MB / 362.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 7.464e-05/0.007966, allocations: 168.6 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.007982, allocations: 15.89 kB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.008136, allocations: 103.1 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.008139, allocations: 4 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.008142, allocations: 0 / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.008146, allocations: 0 / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.008438, allocations: 396.9 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.00844, allocations: 0 / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.008471, allocations: 11.94 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.008476, allocations: 8.016 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.008484, allocations: 4.375 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.008485, allocations: 0 / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.008488, allocations: 4 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.008628, allocations: 259.4 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.008641, allocations: 11.91 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.00866, allocations: 8 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.376e-05/0.008704, allocations: 0 / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.008738, allocations: 7.984 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.008751, allocations: 4 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8e-05/0.008831, allocations: 175.1 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008831, allocations: 7.938 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001821/0.009013, allocations: 23.94 kB / 385.9 MB, free: 10.86 MB / 362.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.001062/0.01008, allocations: 430.2 kB / 386.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.01021, allocations: 59.53 kB / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01021, allocations: 0 / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.741e-05/0.01026, allocations: 27.67 kB / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.01049, allocations: 29.3 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.01083, allocations: 230 kB / 386.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.858e-05/0.01087, allocations: 63.34 kB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.519e-05/0.0109, allocations: 21.27 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.01093, allocations: 16.5 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01093, allocations: 0 / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003727/0.01466, allocations: 1.869 MB / 388.7 MB, free: 8.227 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1578135148156434]