Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.01026/0.01026, allocations: 106.2 kB / 21.98 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002626/0.002626, allocations: 212.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 230.5 MB / 258.9 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2215/0.2215, allocations: 46.93 MB / 362.3 MB, free: 4.195 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 83.84 kB / 0.4982 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3145, allocations: 66.07 MB / 0.5628 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003179/0.3177, allocations: 1.696 MB / 0.5644 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3188, allocations: 0.6005 MB / 0.565 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.71e-05/0.3188, allocations: 4 kB / 0.565 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.3191, allocations: 47.75 kB / 0.565 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.3194, allocations: 95.59 kB / 0.5651 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.3198, allocations: 178.9 kB / 0.5653 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.32, allocations: 87.75 kB / 0.5654 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3201, allocations: 28.22 kB / 0.5654 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.097e-05/0.3201, allocations: 31.84 kB / 0.5654 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.3202, allocations: 47.83 kB / 0.5655 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.3203, allocations: 4 kB / 0.5655 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3204, allocations: 43.98 kB / 0.5655 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.3204, allocations: 31.8 kB / 0.5656 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.3205, allocations: 35.78 kB / 0.5656 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.3207, allocations: 114 kB / 0.5657 GB, free: 1.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3207, allocations: 3.938 kB / 0.5657 GB, free: 1.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3207, allocations: 0 / 0.5657 GB, free: 1.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.3207, allocations: 4 kB / 0.5657 GB, free: 1.184 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005131/0.3212, allocations: 341.6 kB / 0.566 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3212, allocations: 8.031 kB / 0.5661 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.3213, allocations: 8.891 kB / 0.5661 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.3215, allocations: 146.3 kB / 0.5662 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3215, allocations: 4.375 kB / 0.5662 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.3215, allocations: 384 / 0.5662 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.3217, allocations: 66.23 kB / 0.5663 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3217, allocations: 192 / 0.5663 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.3217, allocations: 7.938 kB / 0.5663 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3217, allocations: 4 kB / 0.5663 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.3219, allocations: 47.89 kB / 0.5663 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.3223, allocations: 291.8 kB / 0.5666 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.3226, allocations: 66.58 kB / 0.5667 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/0.3227, allocations: 28.91 kB / 0.5667 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.3227, allocations: 0 / 0.5667 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.3227, allocations: 30.56 kB / 0.5667 GB, free: 28 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.725e-06/0.3227, allocations: 3.984 kB / 0.5667 GB, free: 24 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00146/0.3242, allocations: 428.9 kB / 0.5671 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.3242, allocations: 55.41 kB / 0.5672 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.3244, allocations: 178.8 kB / 0.5674 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3244, allocations: 25.7 kB / 0.5674 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.3245, allocations: 108 kB / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.3245, allocations: 39.69 kB / 0.5675 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.3246, allocations: 25.72 kB / 0.5675 GB, free: 15.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3247, allocations: 326.8 kB / 0.5679 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.3249, allocations: 55.89 kB / 0.5679 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.325, allocations: 51.95 kB / 0.568 GB, free: 14.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.3253, allocations: 128.8 kB / 0.5681 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3253, allocations: 0 / 0.5681 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003408/0.3256, allocations: 165.8 kB / 0.5682 GB, free: 14.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3256, allocations: 6.188 kB / 0.5683 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3257, allocations: 0 / 0.5683 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3257, allocations: 0 / 0.5683 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3258, allocations: 31.92 kB / 0.5683 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3258, allocations: 0 / 0.5683 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.322e-05/0.3259, allocations: 20.48 kB / 0.5683 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3259, allocations: 4 kB / 0.5683 GB, free: 14.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001272/0.326, allocations: 125.8 kB / 0.5684 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.326, allocations: 15.91 kB / 0.5684 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004346/0.3265, allocations: 198.2 kB / 0.5686 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3265, allocations: 4 kB / 0.5686 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3265, allocations: 0 / 0.5686 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3265, allocations: 3.938 kB / 0.5686 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007355/0.3272, allocations: 475.2 kB / 0.5691 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3272, allocations: 0 / 0.5691 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.3273, allocations: 31.86 kB / 0.5691 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3273, allocations: 4 kB / 0.5691 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3273, allocations: 0 / 0.5691 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3273, allocations: 0 / 0.5691 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3273, allocations: 8.078 kB / 0.5691 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.3277, allocations: 277 kB / 0.5694 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.3277, allocations: 19.83 kB / 0.5694 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.3278, allocations: 0 / 0.5694 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.256e-05/0.3279, allocations: 11.98 kB / 0.5694 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.3279, allocations: 11.98 kB / 0.5694 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.3279, allocations: 4 kB / 0.5694 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.328, allocations: 139.3 kB / 0.5696 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.328, allocations: 0 / 0.5696 GB, free: 12.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000266/0.3283, allocations: 27.94 kB / 0.5696 GB, free: 12.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001672/0.33, allocations: 451.7 kB / 0.57 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003674/0.3303, allocations: 119.9 kB / 0.5701 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3303, allocations: 0 / 0.5701 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.3305, allocations: 67.89 kB / 0.5702 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.3309, allocations: 36.97 kB / 0.5702 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.3315, allocations: 329.9 kB / 0.5706 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.3319, allocations: 0.708 MB / 0.5713 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.171e-05/0.3319, allocations: 23.44 kB / 0.5713 GB, free: 11.3 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3319, allocations: 4 kB / 0.5713 GB, free: 11.3 MB / 414.1 MB Notification: Performance of Templates: time 0.004148/0.3361, allocations: 2.04 MB / 0.5733 GB, free: 9.254 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.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: 7.807075796183199]