Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.001175/0.001175, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001266/0.001266, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9624/0.9624, allocations: 177 MB / 204.8 MB, free: 5.57 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.3003/0.3003, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 0 / 378.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.368e-05, allocations: 2.312 kB / 378.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.004869/0.004902, allocations: 1.777 MB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.006297, allocations: 1.012 MB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.966e-05/0.006376, allocations: 4 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.006696, allocations: 43.7 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.007, allocations: 103.5 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.007175, allocations: 79.59 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.007334, allocations: 103.7 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.007436, allocations: 11.97 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.00756, allocations: 55.78 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.007664, allocations: 27.91 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.007684, allocations: 4 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.007792, allocations: 43.92 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.007849, allocations: 23.92 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.007896, allocations: 27.84 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.008115, allocations: 99.66 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.00812, allocations: 4 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.008121, allocations: 0 / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.008126, allocations: 0 / 382.3 MB, free: 14.58 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.0007029/0.008829, allocations: 455.8 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.008876, allocations: 8.031 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.008935, allocations: 16.83 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.009155, allocations: 148.9 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.009176, allocations: 4.375 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.009201, allocations: 4.375 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.009345, allocations: 70.92 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.009358, allocations: 192 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.009367, allocations: 384 / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.009378, allocations: 3.938 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.964e-05/0.009428, allocations: 15.92 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.009821, allocations: 287.8 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.009956, allocations: 55.16 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.484e-05/0.009991, allocations: 15.69 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.01001, allocations: 0 / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/0.01012, allocations: 76.92 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.01013, allocations: 0 / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000433/0.01056, allocations: 161.3 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.01059, allocations: 59.39 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.01074, allocations: 233.9 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.01075, allocations: 25.7 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.01089, allocations: 154.8 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.01092, allocations: 27.78 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.01095, allocations: 23.38 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.01109, allocations: 0.504 MB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.382e-05/0.01111, allocations: 12 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-05/0.01115, allocations: 39.3 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.532e-05/0.0112, allocations: 51.3 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.0112, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001168/0.01132, allocations: 97.88 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.01133, allocations: 4 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.01134, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.01136, allocations: 4 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.01143, allocations: 16 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.01143, allocations: 4.031 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/0.01146, allocations: 11.94 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.01147, allocations: 4 kB / 384.8 MB, free: 11.8 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.285e-05/0.01154, allocations: 160.5 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.01156, allocations: 19.89 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.01171, allocations: 107.1 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01171, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01171, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01172, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.012, allocations: 400.9 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.012, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.01203, allocations: 15.92 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.01203, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.01204, allocations: 8 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01205, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01205, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.01219, allocations: 255.4 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.01236, allocations: 11.91 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.01238, allocations: 7.984 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.934e-05/0.01242, allocations: 8.031 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.01246, allocations: 7.984 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.01247, allocations: 4 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.62e-05/0.01255, allocations: 180.2 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01255, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000165/0.01271, allocations: 27.92 kB / 386 MB, free: 10.53 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.001005/0.01372, allocations: 426 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.01384, allocations: 55.55 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01384, allocations: 4.062 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.01388, allocations: 35.61 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.0141, allocations: 35.91 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.01447, allocations: 221.9 kB / 386.8 MB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.978e-05/0.01451, allocations: 71.33 kB / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.66e-05/0.01455, allocations: 25.19 kB / 386.8 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.01458, allocations: 16.5 kB / 386.9 MB, free: 9.719 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01458, allocations: 4.062 kB / 386.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of Templates: time 0.003674/0.01826, allocations: 2.001 MB / 388.9 MB, free: 7.738 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.0812611980363727]