Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.001425/0.001425, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001865/0.001865, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.582/1.582, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.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.2727/0.2727, allocations: 46.94 MB / 361.5 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 179] 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002781/0.002781, allocations: 75.88 kB / 0.4975 GB, free: 6.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3372, allocations: 66.09 MB / 0.562 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003475/0.3407, allocations: 1.872 MB / 0.5638 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.3428, allocations: 1.076 MB / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.198e-05/0.3429, allocations: 0 / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004793/0.3433, allocations: 223.4 kB / 0.5651 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004728/0.3438, allocations: 219.2 kB / 0.5653 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.3441, allocations: 115.7 kB / 0.5654 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.3444, allocations: 255.3 kB / 0.5656 GB, free: 156 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.3446, allocations: 29.94 kB / 0.5657 GB, free: 124 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.3448, allocations: 127.5 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.345, allocations: 163.4 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.345, allocations: 8 kB / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.3451, allocations: 67.92 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.798e-05/0.3452, allocations: 63.75 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.576e-05/0.3453, allocations: 71.47 kB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.3457, allocations: 245.1 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3457, allocations: 0 / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3457, allocations: 4 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3457, allocations: 0 / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007685/0.3465, allocations: 0.4964 MB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3465, allocations: 12.03 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.76e-05/0.3466, allocations: 28.75 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.347, allocations: 230.4 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.347, allocations: 8.375 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.347, allocations: 4.375 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.3473, allocations: 111.7 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3473, allocations: 4 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.3473, allocations: 8 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3473, allocations: 0 / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.3475, allocations: 59.88 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.3481, allocations: 412.4 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.3485, allocations: 121.2 kB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.3486, allocations: 41.81 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.3486, allocations: 4 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.3488, allocations: 129.1 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.3488, allocations: 0 / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001357/0.3502, allocations: 0.517 MB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.3502, allocations: 85.05 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005048/0.3508, allocations: 456.4 kB / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.3508, allocations: 37.64 kB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3509, allocations: 160.5 kB / 0.5692 GB, free: 12.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/0.351, allocations: 79.36 kB / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.3511, allocations: 45.7 kB / 0.5693 GB, free: 12.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3512, allocations: 338.8 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.3513, allocations: 59.97 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.3515, allocations: 99.33 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.3519, allocations: 163.5 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3519, allocations: 0 / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004398/0.3523, allocations: 237.3 kB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3523, allocations: 4 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3523, allocations: 7.938 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.3523, allocations: 3.984 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.3525, allocations: 47.86 kB / 0.5702 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3525, allocations: 0 / 0.5702 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.16e-05/0.3526, allocations: 11.95 kB / 0.5703 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.3526, allocations: 15.98 kB / 0.5703 GB, free: 11.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001641/0.3528, allocations: 165.8 kB / 0.5704 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.3528, allocations: 35.88 kB / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005673/0.3534, allocations: 276.5 kB / 0.5707 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.3534, allocations: 11.92 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3534, allocations: 4 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3534, allocations: 4 kB / 0.5707 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.3544, allocations: 0.676 MB / 0.5714 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3544, allocations: 4 kB / 0.5714 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.3545, allocations: 36.11 kB / 0.5714 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.3545, allocations: 4 kB / 0.5714 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.3546, allocations: 4 kB / 0.5715 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.3546, allocations: 11.92 kB / 0.5715 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3546, allocations: 0 / 0.5715 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006051/0.3552, allocations: 441.9 kB / 0.5719 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.3552, allocations: 31.77 kB / 0.5719 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.3553, allocations: 8 kB / 0.5719 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.3554, allocations: 15.92 kB / 0.5719 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.3555, allocations: 27.91 kB / 0.572 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.3555, allocations: 8 kB / 0.572 GB, free: 9.336 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003704/0.3559, allocations: 339 kB / 0.5723 GB, free: 9.004 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3559, allocations: 0 / 0.5723 GB, free: 9.004 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003986/0.3563, allocations: 55.92 kB / 0.5723 GB, free: 8.949 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002181/0.3585, allocations: 0.5379 MB / 0.5729 GB, free: 8.609 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004203/0.3589, allocations: 159.9 kB / 0.573 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3589, allocations: 4.062 kB / 0.573 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.3591, allocations: 84.02 kB / 0.5731 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/0.3597, allocations: 68.88 kB / 0.5732 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.3608, allocations: 0.5956 MB / 0.5738 GB, free: 7.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.361, allocations: 178.3 kB / 0.5739 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.169e-05/0.3611, allocations: 31.44 kB / 0.574 GB, free: 7.43 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3611, allocations: 0 / 0.574 GB, free: 7.43 MB / 414.1 MB Notification: Performance of Templates: time 0.007405/0.3685, allocations: 3.872 MB / 0.5777 GB, free: 3.574 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 8.373342728242278]