Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.001398/0.001398, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001809/0.001809, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.489/1.489, allocations: 230.5 MB / 258.1 MB, free: 7.805 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.2284/0.2284, allocations: 46.96 MB / 361.6 MB, free: 4.031 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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 83.86 kB / 0.4975 GB, free: 6.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3423, allocations: 66.09 MB / 0.562 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003543/0.3458, allocations: 1.872 MB / 0.5638 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.3479, allocations: 1.073 MB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.412e-05/0.348, allocations: 4 kB / 0.5649 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000552/0.3486, allocations: 255.3 kB / 0.5651 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005248/0.3491, allocations: 231.2 kB / 0.5653 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.3494, allocations: 119.6 kB / 0.5655 GB, free: 408 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.3498, allocations: 275.2 kB / 0.5657 GB, free: 132 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3499, allocations: 29.59 kB / 0.5657 GB, free: 104 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.3501, allocations: 131.5 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.3504, allocations: 203.4 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.3504, allocations: 11.98 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.3505, allocations: 59.98 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.3506, allocations: 71.64 kB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.593e-05/0.3507, allocations: 71.41 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.3511, allocations: 265.6 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3511, allocations: 4 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3511, allocations: 0 / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.3511, allocations: 0 / 0.5665 GB, free: 15.3 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.0008484/0.352, allocations: 0.5235 MB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.352, allocations: 8.031 kB / 0.567 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.953e-05/0.3521, allocations: 32.75 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.3525, allocations: 224.9 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.3525, allocations: 8.359 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.3526, allocations: 16.31 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.3528, allocations: 115.7 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3528, allocations: 0 / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3528, allocations: 0 / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3529, allocations: 0 / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.353, allocations: 51.95 kB / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.3536, allocations: 424.3 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.354, allocations: 125.2 kB / 0.568 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.3541, allocations: 41.83 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.3542, allocations: 7.938 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.3544, allocations: 125 kB / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.3544, allocations: 0 / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.00142/0.3558, allocations: 0.5165 MB / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.3559, allocations: 85.05 kB / 0.5688 GB, free: 12.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005813/0.3565, allocations: 0.5015 MB / 0.5692 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.3565, allocations: 33.7 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.3567, allocations: 176.5 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.654e-05/0.3567, allocations: 71.42 kB / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.282e-05/0.3568, allocations: 45.7 kB / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.357, allocations: 346.7 kB / 0.5699 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.3571, allocations: 59.97 kB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.3573, allocations: 103.3 kB / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.3576, allocations: 171.5 kB / 0.5702 GB, free: 11.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3576, allocations: 0 / 0.5702 GB, free: 11.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004441/0.3581, allocations: 237.3 kB / 0.5704 GB, free: 11.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3581, allocations: 8 kB / 0.5704 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.3581, allocations: 0 / 0.5704 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3581, allocations: 3.984 kB / 0.5704 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.3583, allocations: 47.86 kB / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3583, allocations: 0 / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.853e-05/0.3584, allocations: 16.06 kB / 0.5705 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.3584, allocations: 15.92 kB / 0.5705 GB, free: 10.97 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.0001861/0.3586, allocations: 169.8 kB / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.3586, allocations: 35.77 kB / 0.5707 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005698/0.3592, allocations: 285.3 kB / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.3592, allocations: 11.92 kB / 0.571 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3592, allocations: 0 / 0.571 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3592, allocations: 0 / 0.571 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.3602, allocations: 0.6917 MB / 0.5717 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.3602, allocations: 7.938 kB / 0.5717 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.3604, allocations: 35.92 kB / 0.5717 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3604, allocations: 4 kB / 0.5717 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.3604, allocations: 4 kB / 0.5717 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3604, allocations: 0 / 0.5717 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3604, allocations: 4 kB / 0.5717 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/0.3609, allocations: 445.7 kB / 0.5721 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.361, allocations: 39.92 kB / 0.5722 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.361, allocations: 8 kB / 0.5722 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.3612, allocations: 11.98 kB / 0.5722 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.3612, allocations: 27.84 kB / 0.5722 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.3613, allocations: 8 kB / 0.5722 GB, free: 9.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004101/0.3617, allocations: 379.1 kB / 0.5726 GB, free: 8.738 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3617, allocations: 0 / 0.5726 GB, free: 8.738 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003716/0.3621, allocations: 55.92 kB / 0.5727 GB, free: 8.684 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.002151/0.3642, allocations: 0.5401 MB / 0.5732 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004009/0.3646, allocations: 152 kB / 0.5733 GB, free: 8.191 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3646, allocations: 0 / 0.5733 GB, free: 8.191 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.3648, allocations: 79.84 kB / 0.5734 GB, free: 8.113 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.3654, allocations: 68.98 kB / 0.5735 GB, free: 8.051 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.3665, allocations: 0.6388 MB / 0.5741 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.3667, allocations: 182.4 kB / 0.5743 GB, free: 7.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8e-05/0.3668, allocations: 39.42 kB / 0.5743 GB, free: 7.121 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3668, allocations: 4.312 kB / 0.5743 GB, free: 7.117 MB / 414.1 MB Notification: Performance of Templates: time 0.00717/0.3739, allocations: 3.987 MB / 0.5782 GB, free: 3.141 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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: 8.16766534326598]