Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2385/0.2385, allocations: 46.94 MB / 361.6 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.91 kB / 0.4975 GB, free: 7.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3462, allocations: 66.03 MB / 0.562 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003939/0.3502, allocations: 2.298 MB / 0.5642 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.3527, allocations: 1.346 MB / 0.5655 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.3529, allocations: 11.88 kB / 0.5655 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004835/0.3534, allocations: 127.3 kB / 0.5656 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007006/0.3541, allocations: 246.9 kB / 0.5659 GB, free: 344 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005213/0.3546, allocations: 195.5 kB / 0.5661 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000751/0.3554, allocations: 466.6 kB / 0.5665 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.3556, allocations: 48.89 kB / 0.5666 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005184/0.3561, allocations: 315 kB / 0.5669 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.3564, allocations: 167.1 kB / 0.567 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.631e-05/0.3564, allocations: 16 kB / 0.567 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.3566, allocations: 75.97 kB / 0.5671 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.3568, allocations: 135.5 kB / 0.5672 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.357, allocations: 190.5 kB / 0.5674 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006033/0.3576, allocations: 436.5 kB / 0.5678 GB, free: 14.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3576, allocations: 0 / 0.5678 GB, free: 14.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3576, allocations: 0 / 0.5678 GB, free: 14.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.3576, allocations: 4 kB / 0.5678 GB, free: 14.32 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.001308/0.3589, allocations: 0.7682 MB / 0.5686 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.359, allocations: 8.031 kB / 0.5686 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.3591, allocations: 68.52 kB / 0.5687 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000701/0.3598, allocations: 353.8 kB / 0.569 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.3598, allocations: 16.36 kB / 0.569 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.3599, allocations: 20.08 kB / 0.569 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.3603, allocations: 201.4 kB / 0.5692 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.3603, allocations: 8 kB / 0.5692 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.3603, allocations: 4 kB / 0.5692 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3604, allocations: 4 kB / 0.5692 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.3606, allocations: 87.88 kB / 0.5693 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.3617, allocations: 0.7734 MB / 0.5701 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006923/0.3624, allocations: 230.5 kB / 0.5703 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.3626, allocations: 87.45 kB / 0.5704 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.3626, allocations: 8 kB / 0.5704 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003856/0.363, allocations: 200.2 kB / 0.5706 GB, free: 11.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 3.056e-06/0.363, allocations: 0 / 0.5706 GB, free: 11.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002613/0.3656, allocations: 1.144 MB / 0.5717 GB, free: 10.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.3657, allocations: 136.5 kB / 0.5718 GB, free: 9.996 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.3667, allocations: 0.7969 MB / 0.5726 GB, free: 9.188 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.3668, allocations: 41.69 kB / 0.5726 GB, free: 9.141 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.367, allocations: 237 kB / 0.5729 GB, free: 8.906 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.3671, allocations: 142.8 kB / 0.573 GB, free: 8.766 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.3673, allocations: 86.08 kB / 0.5731 GB, free: 8.672 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.3675, allocations: 370.8 kB / 0.5734 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.3677, allocations: 112.8 kB / 0.5735 GB, free: 8.191 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.368, allocations: 187.1 kB / 0.5737 GB, free: 7.988 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005456/0.3686, allocations: 323 kB / 0.574 GB, free: 7.648 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3686, allocations: 0 / 0.574 GB, free: 7.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008295/0.3694, allocations: 445.1 kB / 0.5745 GB, free: 7.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.3694, allocations: 10.34 kB / 0.5745 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3694, allocations: 0 / 0.5745 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.3694, allocations: 4 kB / 0.5745 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.3697, allocations: 87.84 kB / 0.5746 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.3697, allocations: 7.984 kB / 0.5746 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.3699, allocations: 20.06 kB / 0.5746 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.3699, allocations: 23.98 kB / 0.5746 GB, free: 7.059 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.000298/0.3702, allocations: 228.1 kB / 0.5748 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3704, allocations: 79.5 kB / 0.5749 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.3714, allocations: 495.1 kB / 0.5754 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3714, allocations: 8 kB / 0.5754 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3714, allocations: 0 / 0.5754 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.3714, allocations: 11.92 kB / 0.5754 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.3733, allocations: 1.271 MB / 0.5766 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.3733, allocations: 8.375 kB / 0.5766 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.3735, allocations: 71.78 kB / 0.5767 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.3735, allocations: 4 kB / 0.5767 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.3736, allocations: 15.98 kB / 0.5767 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.3736, allocations: 7.938 kB / 0.5767 GB, free: 4.777 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.3736, allocations: 4 kB / 0.5767 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000992/0.3746, allocations: 0.7931 MB / 0.5775 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.3748, allocations: 99.52 kB / 0.5776 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.3748, allocations: 12 kB / 0.5776 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.3751, allocations: 19.98 kB / 0.5776 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.3752, allocations: 43.81 kB / 0.5777 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.3753, allocations: 27.98 kB / 0.5777 GB, free: 3.734 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007087/0.376, allocations: 0.5771 MB / 0.5783 GB, free: 3.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.376, allocations: 0 / 0.5783 GB, free: 3.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005672/0.3766, allocations: 87.92 kB / 0.5784 GB, free: 3.078 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 (44): * Single equations (assignments): 36 * 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.002061/0.3786, allocations: 0.5323 MB / 0.5789 GB, free: 2.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007257/0.3793, allocations: 296.4 kB / 0.5792 GB, free: 2.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3793, allocations: 0 / 0.5792 GB, free: 2.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.3797, allocations: 143.7 kB / 0.5793 GB, free: 2.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.3807, allocations: 134.1 kB / 0.5794 GB, free: 2.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.3826, allocations: 1.114 MB / 0.5805 GB, free: 1.016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/0.3832, allocations: 0.886 MB / 0.5814 GB, free: 108 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.3833, allocations: 51.42 kB / 0.5814 GB, free: 56 kB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3833, allocations: 0 / 0.5814 GB, free: 56 kB / 414.1 MB Notification: Performance of Templates: time 0.01204/0.3953, allocations: 6.518 MB / 0.5878 GB, free: 9.566 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.635768275009468]