Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001334/0.001334, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001436/0.001436, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.422/1.422, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.2385/0.2385, allocations: 46.94 MB / 361.6 MB, free: 4.273 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 63.89 kB / 0.4975 GB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4201, allocations: 66.02 MB / 0.5619 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003695/0.4238, allocations: 1.76 MB / 0.5637 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.4258, allocations: 1.069 MB / 0.5647 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.05e-05/0.4258, allocations: 3.938 kB / 0.5647 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.4262, allocations: 27.84 kB / 0.5647 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003499/0.4265, allocations: 99.53 kB / 0.5648 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.4268, allocations: 87.66 kB / 0.5649 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.427, allocations: 111.6 kB / 0.565 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.4271, allocations: 15.97 kB / 0.565 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.4272, allocations: 51.78 kB / 0.5651 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.4273, allocations: 39.83 kB / 0.5651 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.4273, allocations: 8 kB / 0.5651 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.4276, allocations: 111.9 kB / 0.5652 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.4276, allocations: 19.92 kB / 0.5653 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.4277, allocations: 35.73 kB / 0.5653 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.428, allocations: 181.8 kB / 0.5655 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.428, allocations: 0 / 0.5655 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.428, allocations: 4 kB / 0.5655 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.4281, allocations: 0 / 0.5655 GB, free: 0.7852 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007572/0.4288, allocations: 365.3 kB / 0.5658 GB, free: 408 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.4289, allocations: 12.03 kB / 0.5658 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.4289, allocations: 8.891 kB / 0.5658 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.4293, allocations: 150.4 kB / 0.566 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.4293, allocations: 384 / 0.566 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.4294, allocations: 12.12 kB / 0.566 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.4296, allocations: 75.31 kB / 0.5661 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.4296, allocations: 0 / 0.5661 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.4296, allocations: 4 kB / 0.5661 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4296, allocations: 0 / 0.5661 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.959e-05/0.4297, allocations: 15.98 kB / 0.5661 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.4302, allocations: 252 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.4304, allocations: 66.56 kB / 0.5664 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.29e-05/0.4304, allocations: 24.97 kB / 0.5664 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.4305, allocations: 3.984 kB / 0.5664 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.4307, allocations: 71.38 kB / 0.5665 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.4307, allocations: 0 / 0.5665 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006618/0.4313, allocations: 213.2 kB / 0.5667 GB, free: 15.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/0.4314, allocations: 81.09 kB / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.4316, allocations: 165.9 kB / 0.5669 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.4316, allocations: 29.7 kB / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.4317, allocations: 100 kB / 0.567 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.4317, allocations: 39.72 kB / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.4318, allocations: 29.7 kB / 0.5671 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.432, allocations: 322.8 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.691e-05/0.432, allocations: 31.98 kB / 0.5674 GB, free: 14.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.4321, allocations: 58.5 kB / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.4323, allocations: 77.64 kB / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4323, allocations: 0 / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002337/0.4325, allocations: 121.6 kB / 0.5677 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4325, allocations: 12.05 kB / 0.5677 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.4326, allocations: 4 kB / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4326, allocations: 0 / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.4327, allocations: 23.94 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4327, allocations: 0 / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.509e-05/0.4327, allocations: 11.92 kB / 0.5677 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.4327, allocations: 0 / 0.5677 GB, free: 14.24 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (13): * Single equations (assignments): 13 * 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.0001452/0.4329, allocations: 125.8 kB / 0.5679 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.4329, allocations: 19.84 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.4332, allocations: 130.8 kB / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.4332, allocations: 7.984 kB / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4332, allocations: 0 / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4332, allocations: 3.938 kB / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.4338, allocations: 394.3 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4338, allocations: 0 / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.4338, allocations: 11.94 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4338, allocations: 8.312 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.4338, allocations: 7.984 kB / 0.5684 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4338, allocations: 0 / 0.5684 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.4338, allocations: 11.92 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.4341, allocations: 204.3 kB / 0.5686 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.4341, allocations: 23.83 kB / 0.5686 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.4342, allocations: 4 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.4342, allocations: 4 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.4343, allocations: 11.98 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.4343, allocations: 4 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.4344, allocations: 127.2 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4344, allocations: 0 / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003156/0.4347, allocations: 51.86 kB / 0.5688 GB, free: 13.02 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002089/0.4368, allocations: 0.5532 MB / 0.5694 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.4371, allocations: 75.91 kB / 0.5695 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4371, allocations: 3.938 kB / 0.5695 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.659e-05/0.4371, allocations: 31.92 kB / 0.5695 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.4375, allocations: 43.02 kB / 0.5695 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005542/0.4381, allocations: 241.1 kB / 0.5698 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.4385, allocations: 0.7006 MB / 0.5704 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.4385, allocations: 23.42 kB / 0.5705 GB, free: 11.51 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4385, allocations: 0 / 0.5705 GB, free: 11.51 MB / 414.1 MB Notification: Performance of Templates: time 0.005317/0.4438, allocations: 2.574 MB / 0.573 GB, free: 8.941 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.076849455013871]