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.001906/0.001906, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.001995/0.001995, allocations: 169.3 kB / 24.28 MB, free: 148 kB / 18.57 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.589/1.589, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.341/0.341, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 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 1.182e-06/1.182e-06, allocations: 0 / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.19e-05, allocations: 5.266 kB / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003951/0.003983, allocations: 2.226 MB / 379.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.006632, allocations: 1.291 MB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.006769, allocations: 7.938 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004375/0.007207, allocations: 127.3 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000607/0.007814, allocations: 250.8 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.008229, allocations: 195.4 kB / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006064/0.008835, allocations: 470.5 kB / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.008977, allocations: 49.23 kB / 382 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006022/0.00958, allocations: 351.2 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.009797, allocations: 135.5 kB / 382.5 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.123e-05/0.009848, allocations: 16 kB / 382.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.01002, allocations: 71.92 kB / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.0102, allocations: 147.4 kB / 382.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.01034, allocations: 87.59 kB / 382.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005775/0.01091, allocations: 434.2 kB / 383.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01092, allocations: 4 kB / 383.2 MB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01092, allocations: 0 / 383.2 MB, free: 13.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.01093, allocations: 0 / 383.2 MB, free: 13.03 MB / 362.7 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.001342/0.01227, allocations: 0.8952 MB / 384.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.01231, allocations: 15.95 kB / 384.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.01246, allocations: 72.52 kB / 384.2 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005531/0.01301, allocations: 357.2 kB / 384.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.01304, allocations: 12.38 kB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.01308, allocations: 16.31 kB / 384.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/0.01347, allocations: 200.9 kB / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.01349, allocations: 7.891 kB / 384.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.01351, allocations: 4 kB / 384.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.01352, allocations: 4 kB / 384.8 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.01375, allocations: 91.86 kB / 384.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.01501, allocations: 0.9804 MB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007092/0.01572, allocations: 268.4 kB / 386.1 MB, free: 9.938 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.01592, allocations: 94.83 kB / 386.2 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.01594, allocations: 8 kB / 386.2 MB, free: 9.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004174/0.01636, allocations: 229.5 kB / 386.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.393e-06/0.01636, allocations: 0 / 386.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.00276/0.01912, allocations: 1.159 MB / 387.6 MB, free: 8.398 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.01924, allocations: 144.4 kB / 387.7 MB, free: 8.227 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009441/0.02018, allocations: 0.7339 MB / 388.5 MB, free: 7.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.02023, allocations: 37.7 kB / 388.5 MB, free: 7.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.02055, allocations: 327.7 kB / 388.8 MB, free: 7.105 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.02072, allocations: 158.8 kB / 389 MB, free: 6.949 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.02086, allocations: 95.84 kB / 389.1 MB, free: 6.848 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005633/0.02142, allocations: 0.5898 MB / 389.7 MB, free: 6.246 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.02166, allocations: 105 kB / 389.8 MB, free: 6.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.022, allocations: 214.4 kB / 390 MB, free: 5.902 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.02261, allocations: 341.6 kB / 390.3 MB, free: 5.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.02261, allocations: 0 / 390.3 MB, free: 5.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008475/0.02346, allocations: 460.8 kB / 390.8 MB, free: 5.078 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.02347, allocations: 8 kB / 390.8 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.02348, allocations: 0 / 390.8 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.0235, allocations: 7.984 kB / 390.8 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.0238, allocations: 91.84 kB / 390.9 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.02381, allocations: 7.984 kB / 390.9 MB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.02395, allocations: 12 kB / 390.9 MB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.02399, allocations: 20 kB / 390.9 MB, free: 4.934 MB / 362.7 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.0002305/0.02422, allocations: 207 kB / 391.1 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.02435, allocations: 83.58 kB / 391.2 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.02541, allocations: 0.5036 MB / 391.7 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.02542, allocations: 4 kB / 391.7 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.02543, allocations: 0 / 391.7 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.02544, allocations: 7.984 kB / 391.7 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.02772, allocations: 1.515 MB / 393.2 MB, free: 2.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.02772, allocations: 4.031 kB / 393.2 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.02793, allocations: 71.84 kB / 393.3 MB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.02794, allocations: 8 kB / 393.3 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.02797, allocations: 15.98 kB / 393.3 MB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.02798, allocations: 4 kB / 393.3 MB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.02799, allocations: 4 kB / 393.3 MB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.02921, allocations: 1.032 MB / 394.3 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.02942, allocations: 99.45 kB / 394.4 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.242e-05/0.02949, allocations: 16 kB / 394.5 MB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.02976, allocations: 19.98 kB / 394.5 MB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.02987, allocations: 51.75 kB / 394.5 MB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/0.02992, allocations: 27.98 kB / 394.6 MB, free: 1.109 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006107/0.03053, allocations: 479 kB / 395 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.03053, allocations: 0 / 395 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005798/0.03111, allocations: 91.92 kB / 395.1 MB, free: 0.5586 MB / 362.7 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.003947/0.03506, allocations: 0.571 MB / 395.7 MB, free: 232 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008401/0.0359, allocations: 335.7 kB / 396 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.0359, allocations: 0 / 396 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.03627, allocations: 188.4 kB / 396.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.03733, allocations: 142.1 kB / 396.3 MB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.03929, allocations: 0.9882 MB / 397.3 MB, free: 14.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.03964, allocations: 284.9 kB / 397.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.03984, allocations: 75.25 kB / 397.7 MB, free: 14.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.03999, allocations: 60.41 kB / 397.7 MB, free: 14.07 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.03999, allocations: 0 / 397.7 MB, free: 14.07 MB / 378.7 MB Notification: Performance of Templates: time 0.01333/0.05331, allocations: 5.731 MB / 403.5 MB, free: 8.43 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/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: 5.049457778921351]