Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.001684/0.001684, 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.002009/0.002009, 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.747/1.747, allocations: 230.5 MB / 258.1 MB, free: 7.777 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.2335/0.2335, allocations: 46.93 MB / 361.5 MB, free: 3.902 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002481/0.002481, allocations: 79.88 kB / 0.4975 GB, free: 6.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3362, allocations: 66.09 MB / 0.562 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003972/0.3402, allocations: 2.16 MB / 0.5641 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.3426, allocations: 1.268 MB / 0.5653 GB, free: 488 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.3428, allocations: 7.938 kB / 0.5654 GB, free: 480 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000457/0.3432, allocations: 139.3 kB / 0.5655 GB, free: 340 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005972/0.3438, allocations: 270.8 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.3443, allocations: 183.6 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005643/0.3448, allocations: 474.6 kB / 0.5664 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.345, allocations: 44.91 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003984/0.3454, allocations: 342.9 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.3456, allocations: 163.1 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.3457, allocations: 16 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.3459, allocations: 83.97 kB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.346, allocations: 151.4 kB / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.3462, allocations: 154.7 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006026/0.3468, allocations: 496.2 kB / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3468, allocations: 0 / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.3468, allocations: 0 / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.3468, allocations: 0 / 0.5678 GB, free: 14 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001246/0.3481, allocations: 0.8418 MB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3481, allocations: 8.031 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.3482, allocations: 76.41 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005982/0.3488, allocations: 375 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.3488, allocations: 8.375 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/0.3489, allocations: 20.33 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.3493, allocations: 201.2 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.3493, allocations: 4 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.3493, allocations: 4 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3493, allocations: 4 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.3496, allocations: 99.86 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009683/0.3506, allocations: 0.7505 MB / 0.5701 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.3512, allocations: 246.5 kB / 0.5703 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.3514, allocations: 87.45 kB / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3514, allocations: 0 / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003744/0.3518, allocations: 212.2 kB / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.874e-06/0.3518, allocations: 3.938 kB / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002582/0.3544, allocations: 1.218 MB / 0.5718 GB, free: 9.664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.771e-05/0.3545, allocations: 144.5 kB / 0.5719 GB, free: 9.492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.3556, allocations: 0.977 MB / 0.5729 GB, free: 8.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.3556, allocations: 37.7 kB / 0.5729 GB, free: 8.461 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.3559, allocations: 277 kB / 0.5732 GB, free: 8.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.356, allocations: 142.8 kB / 0.5733 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.3561, allocations: 86.08 kB / 0.5734 GB, free: 7.953 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3563, allocations: 329.9 kB / 0.5737 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.3565, allocations: 112.8 kB / 0.5738 GB, free: 7.516 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.3568, allocations: 187.2 kB / 0.574 GB, free: 7.312 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/0.3573, allocations: 331 kB / 0.5743 GB, free: 6.965 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.3574, allocations: 4 kB / 0.5743 GB, free: 6.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000814/0.3582, allocations: 456.8 kB / 0.5748 GB, free: 6.508 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3582, allocations: 8.125 kB / 0.5748 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3582, allocations: 7.984 kB / 0.5748 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.3582, allocations: 4 kB / 0.5748 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.3585, allocations: 83.91 kB / 0.5749 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.3585, allocations: 11.92 kB / 0.5749 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.3587, allocations: 16 kB / 0.5749 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.3587, allocations: 16.23 kB / 0.5749 GB, free: 6.363 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003242/0.359, allocations: 272 kB / 0.5752 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.3591, allocations: 75.48 kB / 0.5752 GB, free: 6.016 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.3602, allocations: 0.5464 MB / 0.5758 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.3602, allocations: 4 kB / 0.5758 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.423e-06/0.3602, allocations: 4 kB / 0.5758 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3602, allocations: 0 / 0.5758 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.362, allocations: 1.275 MB / 0.577 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.362, allocations: 4 kB / 0.577 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.3622, allocations: 71.84 kB / 0.5771 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.3622, allocations: 4 kB / 0.5771 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.3622, allocations: 15.98 kB / 0.5771 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.3623, allocations: 4 kB / 0.5771 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.3623, allocations: 4 kB / 0.5771 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.3633, allocations: 0.8397 MB / 0.5779 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.3635, allocations: 111.4 kB / 0.578 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.109e-05/0.3636, allocations: 16 kB / 0.5781 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.3638, allocations: 23.98 kB / 0.5781 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.3639, allocations: 44.19 kB / 0.5781 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.364, allocations: 27.98 kB / 0.5781 GB, free: 2.895 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008089/0.3648, allocations: 0.7177 MB / 0.5788 GB, free: 2.184 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3648, allocations: 0 / 0.5788 GB, free: 2.184 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005716/0.3654, allocations: 95.86 kB / 0.5789 GB, free: 2.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002203/0.3676, allocations: 0.5599 MB / 0.5795 GB, free: 1.727 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007256/0.3683, allocations: 318.7 kB / 0.5798 GB, free: 1.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3683, allocations: 0 / 0.5798 GB, free: 1.418 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.3686, allocations: 160.9 kB / 0.5799 GB, free: 1.262 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.3696, allocations: 133.6 kB / 0.5801 GB, free: 1.133 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.3718, allocations: 1.274 MB / 0.5813 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.3721, allocations: 322 kB / 0.5816 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.3723, allocations: 59.41 kB / 0.5817 GB, free: 15.39 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3723, allocations: 0 / 0.5817 GB, free: 15.39 MB / 430.1 MB Notification: Performance of Templates: time 0.01338/0.3857, allocations: 7.052 MB / 0.5886 GB, free: 8.355 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.87022168096155]