Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001415/0.001415, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001635/0.001635, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.732/1.732, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2606/0.2606, allocations: 46.93 MB / 360.8 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 179] 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.Test81,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.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,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.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 75.89 kB / 0.4967 GB, free: 7.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4035, allocations: 66.03 MB / 0.5612 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003716/0.4073, allocations: 1.838 MB / 0.563 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003278/0.4105, allocations: 1.809 MB / 0.5647 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.4107, allocations: 3.938 kB / 0.5647 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004363/0.4111, allocations: 55.69 kB / 0.5648 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.4116, allocations: 135.4 kB / 0.5649 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.4119, allocations: 107.6 kB / 0.565 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.4123, allocations: 211.3 kB / 0.5652 GB, free: 192 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.928e-05/0.4124, allocations: 13.8 kB / 0.5652 GB, free: 176 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.4126, allocations: 95.56 kB / 0.5653 GB, free: 80 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.4129, allocations: 79.66 kB / 0.5654 GB, free: 0 / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.4129, allocations: 8.047 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.4132, allocations: 119.8 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.048e-05/0.4133, allocations: 35.84 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.948e-05/0.4134, allocations: 63.59 kB / 0.5656 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.4138, allocations: 229.5 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4138, allocations: 3.938 kB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4138, allocations: 0 / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.4138, allocations: 4 kB / 0.5659 GB, free: 15.55 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.0009739/0.4148, allocations: 428.9 kB / 0.5663 GB, free: 15.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.4148, allocations: 8.031 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.4149, allocations: 16.84 kB / 0.5663 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.4153, allocations: 194.1 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.4154, allocations: 8.375 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.4154, allocations: 16.09 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.4156, allocations: 97.08 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4156, allocations: 0 / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.4156, allocations: 4 kB / 0.5666 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.4157, allocations: 3.984 kB / 0.5666 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.4158, allocations: 31.92 kB / 0.5666 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.416, allocations: 193.6 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.4163, allocations: 101.2 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.4164, allocations: 41.64 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.4164, allocations: 4 kB / 0.567 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/0.4167, allocations: 109 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.4167, allocations: 0 / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004813/0.4172, allocations: 169.4 kB / 0.5672 GB, free: 13.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.4173, allocations: 128.5 kB / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.4176, allocations: 244.1 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.4176, allocations: 29.7 kB / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.4177, allocations: 116.1 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/0.4177, allocations: 31.78 kB / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.4178, allocations: 25.72 kB / 0.5678 GB, free: 13.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.418, allocations: 338.8 kB / 0.5681 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.331e-05/0.4181, allocations: 23.98 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.4182, allocations: 81.12 kB / 0.5682 GB, free: 12.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.4184, allocations: 83.86 kB / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4184, allocations: 8 kB / 0.5683 GB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002942/0.4187, allocations: 137.5 kB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.4187, allocations: 4 kB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4187, allocations: 0 / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.4187, allocations: 4 kB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.4189, allocations: 23.92 kB / 0.5684 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.4189, allocations: 0 / 0.5684 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.608e-05/0.419, allocations: 23.88 kB / 0.5685 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.419, allocations: 7.938 kB / 0.5685 GB, free: 12.6 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.0001504/0.4191, allocations: 142.3 kB / 0.5686 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.4192, allocations: 19.89 kB / 0.5686 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.4195, allocations: 146.7 kB / 0.5688 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.4195, allocations: 0 / 0.5688 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4195, allocations: 0 / 0.5688 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4195, allocations: 0 / 0.5688 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.4198, allocations: 200.5 kB / 0.569 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4198, allocations: 3.984 kB / 0.569 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.4198, allocations: 8 kB / 0.569 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4198, allocations: 4 kB / 0.569 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.4198, allocations: 4 kB / 0.569 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4198, allocations: 0 / 0.569 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4198, allocations: 256 / 0.569 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.4202, allocations: 177.7 kB / 0.5691 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.4202, allocations: 23.84 kB / 0.5692 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.4203, allocations: 4 kB / 0.5692 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.4203, allocations: 11.98 kB / 0.5692 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.4204, allocations: 7.984 kB / 0.5692 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.4204, allocations: 4 kB / 0.5692 GB, free: 11.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002029/0.4206, allocations: 177.8 kB / 0.5694 GB, free: 11.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4206, allocations: 0 / 0.5694 GB, free: 11.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00029/0.4209, allocations: 55.86 kB / 0.5694 GB, free: 11.55 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 (10): * Single equations (assignments): 6 * 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.001873/0.4228, allocations: 0.5013 MB / 0.5699 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.423, allocations: 79.91 kB / 0.57 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.423, allocations: 0 / 0.57 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.4232, allocations: 31.98 kB / 0.57 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.4236, allocations: 64.5 kB / 0.5701 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006779/0.4242, allocations: 279.6 kB / 0.5703 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.4246, allocations: 0.7243 MB / 0.571 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.629e-05/0.4247, allocations: 29.97 kB / 0.5711 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.4248, allocations: 31.42 kB / 0.5711 GB, free: 9.949 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4248, allocations: 0 / 0.5711 GB, free: 9.949 MB / 414.1 MB Notification: Performance of Templates: time 0.008017/0.4328, allocations: 3.182 MB / 0.5742 GB, free: 6.801 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.786049289861694]