Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001594/0.001594, allocations: 107.6 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.001929/0.001929, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.441/1.441, allocations: 230.6 MB / 258.3 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.2245/0.2245, allocations: 46.96 MB / 361.6 MB, free: 4.031 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 71.83 kB / 0.4974 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3085, allocations: 66.03 MB / 0.5619 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.00337/0.3119, allocations: 1.786 MB / 0.5636 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.3148, allocations: 1.735 MB / 0.5653 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.084e-05/0.3149, allocations: 0 / 0.5653 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.3152, allocations: 55.69 kB / 0.5654 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004363/0.3157, allocations: 143.4 kB / 0.5655 GB, free: 456 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.3159, allocations: 107.6 kB / 0.5656 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.3162, allocations: 203.4 kB / 0.5658 GB, free: 144 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.816e-05/0.3163, allocations: 9.812 kB / 0.5658 GB, free: 132 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.3164, allocations: 91.56 kB / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.3166, allocations: 79.61 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.3166, allocations: 12 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.3168, allocations: 111.9 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.033e-05/0.3169, allocations: 43.83 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.317, allocations: 39.73 kB / 0.5662 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.3173, allocations: 241.4 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3173, allocations: 4 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3174, allocations: 0 / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3174, allocations: 0 / 0.5664 GB, free: 15.52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007151/0.3181, allocations: 425 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3181, allocations: 12.03 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.3182, allocations: 16.84 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.3185, allocations: 186.1 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3185, allocations: 4.375 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.3186, allocations: 8.125 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.3188, allocations: 160.5 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3188, allocations: 3.938 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3189, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3189, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.319, allocations: 39.91 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002215/0.3192, allocations: 162.2 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.3195, allocations: 101.2 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3196, allocations: 45.69 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.3196, allocations: 0 / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.3198, allocations: 117 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.3198, allocations: 0 / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004862/0.3203, allocations: 173.5 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.3204, allocations: 140.5 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.3208, allocations: 244.1 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.3208, allocations: 29.7 kB / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.3209, allocations: 124.1 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.3209, allocations: 23.81 kB / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.321, allocations: 33.7 kB / 0.5684 GB, free: 13.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.3212, allocations: 326.8 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.544e-05/0.3213, allocations: 31.97 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.3215, allocations: 127.2 kB / 0.5688 GB, free: 12.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.3217, allocations: 91.34 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.3217, allocations: 4 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002858/0.322, allocations: 145.5 kB / 0.569 GB, free: 12.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.322, allocations: 8 kB / 0.5691 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.322, allocations: 0 / 0.5691 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.322, allocations: 0 / 0.5691 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3221, allocations: 28.55 kB / 0.5691 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3221, allocations: 0 / 0.5691 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.028e-05/0.3222, allocations: 15.89 kB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3222, allocations: 4 kB / 0.5691 GB, free: 12.47 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001265/0.3223, allocations: 142.3 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.3224, allocations: 23.84 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.3228, allocations: 170.6 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3228, allocations: 0 / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3228, allocations: 3.938 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3228, allocations: 0 / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.3229, allocations: 173.1 kB / 0.5696 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3229, allocations: 0 / 0.5696 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.032e-05/0.323, allocations: 15.98 kB / 0.5696 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.323, allocations: 3.938 kB / 0.5696 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.323, allocations: 4 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.323, allocations: 4 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.323, allocations: 0 / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.3234, allocations: 185.8 kB / 0.5698 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.3234, allocations: 19.8 kB / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.3234, allocations: 11.98 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.3235, allocations: 4 kB / 0.5698 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.3236, allocations: 7.984 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.509e-05/0.3236, allocations: 8 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.3238, allocations: 189.8 kB / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3238, allocations: 0 / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.3241, allocations: 59.8 kB / 0.5701 GB, free: 11.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.001854/0.326, allocations: 0.5177 MB / 0.5706 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.3263, allocations: 95.83 kB / 0.5707 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3263, allocations: 0 / 0.5707 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.3264, allocations: 47.91 kB / 0.5707 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.3268, allocations: 56.66 kB / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/0.3274, allocations: 325.5 kB / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.3276, allocations: 103.5 kB / 0.5712 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.3277, allocations: 35.34 kB / 0.5712 GB, free: 10.39 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3277, allocations: 0 / 0.5712 GB, free: 10.39 MB / 414.1 MB Notification: Performance of Templates: time 0.005929/0.3336, allocations: 3.228 MB / 0.5744 GB, free: 7.176 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.358848614007002]