Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.001469/0.001469, allocations: 91.5 kB / 21.19 MB, free: 3.379 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.001585/0.001585, allocations: 156.5 kB / 24.55 MB, free: 24 kB / 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.033/1.033, allocations: 177 MB / 204.8 MB, free: 5.23 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.2669/0.2669, allocations: 34.86 MB / 296.3 MB, free: 0.5078 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 378.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.406e-05, allocations: 7.094 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002361/0.002385, allocations: 1.761 MB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.003702, allocations: 1.024 MB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.003776, allocations: 0 / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.004095, allocations: 47.7 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.004417, allocations: 99.47 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.004584, allocations: 83.66 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.004779, allocations: 115.6 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.004905, allocations: 7.984 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.406e-05/0.004989, allocations: 43.91 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.14e-05/0.00507, allocations: 31.89 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.005088, allocations: 4 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.213e-05/0.005171, allocations: 47.86 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.005239, allocations: 27.86 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.005281, allocations: 23.92 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.005446, allocations: 99.59 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.005451, allocations: 3.984 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005452, allocations: 4 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.005456, allocations: 0 / 382.3 MB, free: 14.57 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.0004668/0.005923, allocations: 463.8 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.00596, allocations: 8.031 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.006014, allocations: 16.84 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.006187, allocations: 165.2 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.006206, allocations: 384 / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.006224, allocations: 384 / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.00634, allocations: 62.94 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.006351, allocations: 192 / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.006359, allocations: 4.375 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.00637, allocations: 7.938 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.27e-05/0.006403, allocations: 7.984 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.006704, allocations: 303.7 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.00681, allocations: 51.11 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.006839, allocations: 23.67 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.00685, allocations: 0 / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.006951, allocations: 68.98 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.006952, allocations: 3.938 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004051/0.007357, allocations: 161.4 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.00739, allocations: 55.34 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.007592, allocations: 263.1 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.007606, allocations: 29.7 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.007673, allocations: 158.9 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.007701, allocations: 23.8 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.007744, allocations: 27.36 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.007876, allocations: 0.5001 MB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.491e-05/0.007901, allocations: 8 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.629e-05/0.007938, allocations: 35.36 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.192e-05/0.007999, allocations: 63.34 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.008001, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001855/0.008186, allocations: 93.53 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.0082, allocations: 4 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.008206, allocations: 4 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.008218, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.008286, allocations: 19.92 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.008291, allocations: 0 / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.008317, allocations: 4 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.008323, allocations: 8.031 kB / 384.9 MB, free: 11.74 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 6.499e-05/0.008388, allocations: 156.6 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.008412, allocations: 27.83 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.008549, allocations: 103.1 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.008552, allocations: 4 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.008556, allocations: 0 / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.008562, allocations: 3.984 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.008827, allocations: 400.9 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.008828, allocations: 0 / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.789e-05/0.008856, allocations: 20.38 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.008859, allocations: 0 / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.008869, allocations: 4 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.008871, allocations: 7.938 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.008875, allocations: 3.938 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.009019, allocations: 255.5 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.009031, allocations: 19.91 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.009046, allocations: 7.938 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.666e-05/0.009083, allocations: 0 / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.009113, allocations: 7.984 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.009126, allocations: 12 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.718e-05/0.009203, allocations: 179.1 kB / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009204, allocations: 0 / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.009375, allocations: 31.92 kB / 386.1 MB, free: 10.44 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.0008734/0.01025, allocations: 422.6 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.01037, allocations: 55.55 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01038, allocations: 0 / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.01041, allocations: 35.61 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.01064, allocations: 36.09 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.01112, allocations: 237.6 kB / 386.9 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/0.01116, allocations: 71.33 kB / 386.9 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.125e-05/0.01119, allocations: 12.97 kB / 386.9 MB, free: 9.652 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.01122, allocations: 16.5 kB / 387 MB, free: 9.637 MB / 362.7 MB Notification: Performance of SimCode: time 6.02e-07/0.01122, allocations: 0 / 387 MB, free: 9.637 MB / 362.7 MB Notification: Performance of Templates: time 0.003693/0.01491, allocations: 2.015 MB / 389 MB, free: 7.645 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.265271821990609]