Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001759/0.001759, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002133/0.002133, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.46/1.46, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2345/0.2345, allocations: 44.95 MB / 359.6 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 75.89 kB / 0.4943 GB, free: 9.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3904, allocations: 65.47 MB / 0.5583 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003844/0.3942, allocations: 2.165 MB / 0.5604 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.3967, allocations: 1.268 MB / 0.5616 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.3969, allocations: 4 kB / 0.5616 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004695/0.3973, allocations: 139.3 kB / 0.5618 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006203/0.398, allocations: 266.8 kB / 0.562 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.3984, allocations: 191.5 kB / 0.5622 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005549/0.399, allocations: 470.6 kB / 0.5626 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.3991, allocations: 47.92 kB / 0.5627 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004057/0.3995, allocations: 338.9 kB / 0.563 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.3998, allocations: 167.1 kB / 0.5632 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.876e-05/0.3998, allocations: 24 kB / 0.5632 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.4, allocations: 67.98 kB / 0.5633 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.4002, allocations: 163.3 kB / 0.5634 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.4003, allocations: 150.8 kB / 0.5636 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005725/0.4009, allocations: 497.1 kB / 0.564 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4009, allocations: 0 / 0.564 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4009, allocations: 0 / 0.564 GB, free: 1.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.4009, allocations: 0 / 0.564 GB, free: 1.551 MB / 398.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.00125/0.4022, allocations: 0.8418 MB / 0.5649 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.4022, allocations: 15.98 kB / 0.5649 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.4023, allocations: 72.47 kB / 0.5649 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/0.403, allocations: 371 kB / 0.5653 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.403, allocations: 4.375 kB / 0.5653 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/0.403, allocations: 28.08 kB / 0.5653 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/0.4035, allocations: 189.5 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.4035, allocations: 15.88 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.4035, allocations: 0 / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.4035, allocations: 4 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.4038, allocations: 107.8 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000999/0.4048, allocations: 0.7505 MB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/0.4054, allocations: 238.5 kB / 0.5666 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.4057, allocations: 87.52 kB / 0.5667 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.4057, allocations: 15.92 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003924/0.4061, allocations: 200.5 kB / 0.5669 GB, free: 14.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.633e-06/0.4061, allocations: 3.938 kB / 0.5669 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002688/0.4088, allocations: 1.226 MB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.4089, allocations: 140.5 kB / 0.5682 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.4101, allocations: 0.977 MB / 0.5692 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.4101, allocations: 33.7 kB / 0.5692 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.4103, allocations: 288.9 kB / 0.5695 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.4105, allocations: 146.8 kB / 0.5696 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.4106, allocations: 82.08 kB / 0.5697 GB, free: 11.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4108, allocations: 321.9 kB / 0.57 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.411, allocations: 116.8 kB / 0.5701 GB, free: 11.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.4114, allocations: 191.2 kB / 0.5703 GB, free: 10.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/0.4119, allocations: 326.7 kB / 0.5706 GB, free: 10.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.4119, allocations: 7.938 kB / 0.5706 GB, free: 10.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000818/0.4128, allocations: 460.8 kB / 0.5711 GB, free: 10.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4128, allocations: 4 kB / 0.5711 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.4128, allocations: 4 kB / 0.5711 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4128, allocations: 4 kB / 0.5711 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.4131, allocations: 87.89 kB / 0.5711 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.4131, allocations: 7.938 kB / 0.5712 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.4133, allocations: 15.98 kB / 0.5712 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.4133, allocations: 19.94 kB / 0.5712 GB, free: 9.898 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.0003069/0.4136, allocations: 260.1 kB / 0.5714 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.4137, allocations: 83.53 kB / 0.5715 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.4148, allocations: 0.5347 MB / 0.572 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.4148, allocations: 7.984 kB / 0.572 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4148, allocations: 4 kB / 0.5721 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4148, allocations: 0 / 0.5721 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.4166, allocations: 1.271 MB / 0.5733 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.4166, allocations: 4 kB / 0.5733 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.4168, allocations: 67.91 kB / 0.5734 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.4168, allocations: 8.312 kB / 0.5734 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.4169, allocations: 12 kB / 0.5734 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.4169, allocations: 7.984 kB / 0.5734 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.4169, allocations: 4 kB / 0.5734 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.4179, allocations: 0.8475 MB / 0.5742 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.4181, allocations: 119.4 kB / 0.5743 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.905e-05/0.4182, allocations: 12 kB / 0.5743 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.4185, allocations: 23.98 kB / 0.5744 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/0.4186, allocations: 47.81 kB / 0.5744 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/0.4186, allocations: 23.98 kB / 0.5744 GB, free: 6.438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000832/0.4194, allocations: 0.7138 MB / 0.5751 GB, free: 5.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4194, allocations: 0 / 0.5751 GB, free: 5.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005334/0.42, allocations: 95.92 kB / 0.5752 GB, free: 5.637 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.00213/0.4221, allocations: 0.5622 MB / 0.5758 GB, free: 5.316 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006984/0.4228, allocations: 318.6 kB / 0.5761 GB, free: 5.004 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.4228, allocations: 7.938 kB / 0.5761 GB, free: 4.996 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.4231, allocations: 160.5 kB / 0.5762 GB, free: 4.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009331/0.4241, allocations: 132.8 kB / 0.5764 GB, free: 4.715 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.426, allocations: 1.278 MB / 0.5776 GB, free: 3.367 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.4264, allocations: 319.5 kB / 0.5779 GB, free: 3.035 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.4265, allocations: 51.42 kB / 0.578 GB, free: 2.984 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4265, allocations: 0 / 0.578 GB, free: 2.984 MB / 414.1 MB Notification: Performance of Templates: time 0.0112/0.4377, allocations: 7.068 MB / 0.5849 GB, free: 11.94 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.817556113004684]