Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001462/0.001462, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001512/0.001512, allocations: 208.9 kB / 23.73 MB, free: 4.523 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2394/0.2394, allocations: 46.95 MB / 360.9 MB, free: 4.023 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.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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.89 kB / 0.4967 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3686, allocations: 66.04 MB / 0.5612 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.00413/0.3728, allocations: 1.865 MB / 0.563 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.375, allocations: 1.085 MB / 0.564 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.3751, allocations: 0 / 0.564 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005519/0.3757, allocations: 255.3 kB / 0.5643 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005307/0.3762, allocations: 235.2 kB / 0.5645 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.3765, allocations: 115.6 kB / 0.5646 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.3769, allocations: 279.2 kB / 0.5649 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.377, allocations: 17.95 kB / 0.5649 GB, free: 264 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.3772, allocations: 135.5 kB / 0.565 GB, free: 128 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.3775, allocations: 203.4 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.3775, allocations: 12 kB / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.3777, allocations: 71.95 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.3778, allocations: 67.7 kB / 0.5654 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.489e-05/0.3779, allocations: 79.34 kB / 0.5654 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.3783, allocations: 257.2 kB / 0.5657 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3783, allocations: 0 / 0.5657 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3783, allocations: 0 / 0.5657 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.3783, allocations: 0 / 0.5657 GB, free: 15.45 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.001087/0.3794, allocations: 0.5234 MB / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.3795, allocations: 8.031 kB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.445e-05/0.3796, allocations: 32.75 kB / 0.5662 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.3801, allocations: 228.9 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.3801, allocations: 12.36 kB / 0.5665 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.3802, allocations: 8.125 kB / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.3805, allocations: 115.3 kB / 0.5666 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.3805, allocations: 0 / 0.5666 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.3805, allocations: 4 kB / 0.5666 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.3805, allocations: 4 kB / 0.5666 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.3807, allocations: 55.94 kB / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007071/0.3814, allocations: 420.4 kB / 0.567 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.3818, allocations: 129.1 kB / 0.5672 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.382, allocations: 45.81 kB / 0.5672 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.382, allocations: 0 / 0.5672 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002804/0.3822, allocations: 129 kB / 0.5673 GB, free: 13.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.3823, allocations: 0 / 0.5673 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001613/0.3839, allocations: 0.5326 MB / 0.5679 GB, free: 13.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.3839, allocations: 77.11 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005986/0.3845, allocations: 0.5054 MB / 0.5684 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.3846, allocations: 33.69 kB / 0.5685 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.3847, allocations: 168.5 kB / 0.5686 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.908e-05/0.3848, allocations: 79.41 kB / 0.5687 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/0.3849, allocations: 37.72 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.385, allocations: 350.8 kB / 0.5691 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.3852, allocations: 55.97 kB / 0.5691 GB, free: 11.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.3853, allocations: 103.3 kB / 0.5692 GB, free: 11.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.3856, allocations: 163.3 kB / 0.5694 GB, free: 11.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3856, allocations: 0 / 0.5694 GB, free: 11.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000444/0.3861, allocations: 245.2 kB / 0.5696 GB, free: 11.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3861, allocations: 4 kB / 0.5696 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.3861, allocations: 7.922 kB / 0.5696 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3861, allocations: 4 kB / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.3863, allocations: 43.98 kB / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.3863, allocations: 4 kB / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.357e-05/0.3864, allocations: 8 kB / 0.5697 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.3864, allocations: 11.98 kB / 0.5697 GB, free: 11.12 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.0002022/0.3866, allocations: 170.3 kB / 0.5698 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.901e-05/0.3867, allocations: 35.77 kB / 0.5699 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006434/0.3873, allocations: 292.8 kB / 0.5702 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3873, allocations: 0 / 0.5702 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3873, allocations: 8 kB / 0.5702 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3873, allocations: 0 / 0.5702 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.3884, allocations: 0.6917 MB / 0.5708 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3884, allocations: 0 / 0.5708 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.3885, allocations: 31.92 kB / 0.5709 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.3885, allocations: 4 kB / 0.5709 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.3886, allocations: 8 kB / 0.5709 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.3886, allocations: 4 kB / 0.5709 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3886, allocations: 4.125 kB / 0.5709 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005939/0.3892, allocations: 455.3 kB / 0.5713 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.3892, allocations: 27.81 kB / 0.5714 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.3893, allocations: 12 kB / 0.5714 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.3894, allocations: 11.98 kB / 0.5714 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.3895, allocations: 19.91 kB / 0.5714 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.3895, allocations: 16 kB / 0.5714 GB, free: 9.254 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004206/0.3899, allocations: 375.1 kB / 0.5718 GB, free: 8.887 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3899, allocations: 0 / 0.5718 GB, free: 8.887 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.3903, allocations: 63.86 kB / 0.5718 GB, free: 8.824 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.002248/0.3926, allocations: 0.5464 MB / 0.5724 GB, free: 8.523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004202/0.393, allocations: 159.8 kB / 0.5725 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.393, allocations: 0 / 0.5725 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.3932, allocations: 79.84 kB / 0.5726 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005972/0.3938, allocations: 65.47 kB / 0.5727 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.3949, allocations: 0.6133 MB / 0.5732 GB, free: 7.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.3951, allocations: 180.5 kB / 0.5734 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.3952, allocations: 41.92 kB / 0.5735 GB, free: 7.336 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.892e-05/0.3953, allocations: 35.8 kB / 0.5735 GB, free: 7.301 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3953, allocations: 0 / 0.5735 GB, free: 7.301 MB / 414.1 MB Notification: Performance of Templates: time 0.008576/0.4039, allocations: 3.625 MB / 0.577 GB, free: 3.73 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.395188005641103]