Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001351/0.001351, allocations: 107.6 kB / 21.18 MB, free: 0.6758 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.001505/0.001505, allocations: 211.5 kB / 24.48 MB, free: 3.973 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.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.2528/0.2528, allocations: 46.97 MB / 361.6 MB, free: 4.164 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 67.89 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3975, allocations: 66.04 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003429/0.401, allocations: 1.643 MB / 0.5634 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.402, allocations: 0.531 MB / 0.564 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.599e-05/0.4021, allocations: 0 / 0.564 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006342/0.4027, allocations: 463.1 kB / 0.5644 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005019/0.4032, allocations: 295.3 kB / 0.5647 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.4036, allocations: 127.5 kB / 0.5648 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.4038, allocations: 171.6 kB / 0.565 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.404, allocations: 15.64 kB / 0.565 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.4041, allocations: 111.7 kB / 0.5651 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.4044, allocations: 251.5 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.4044, allocations: 4 kB / 0.5653 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.28e-05/0.4045, allocations: 39.98 kB / 0.5654 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.4047, allocations: 79.69 kB / 0.5654 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.207e-05/0.4047, allocations: 67.25 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.4051, allocations: 269.4 kB / 0.5658 GB, free: 168 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4051, allocations: 0 / 0.5658 GB, free: 168 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4051, allocations: 0 / 0.5658 GB, free: 168 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.954e-06/0.4051, allocations: 0 / 0.5658 GB, free: 168 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008527/0.406, allocations: 0.5776 MB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.406, allocations: 12.03 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.542e-05/0.4061, allocations: 40.66 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.4064, allocations: 242.8 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.4064, allocations: 384 / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.4064, allocations: 8.359 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.4066, allocations: 57.75 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.4066, allocations: 0 / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.4066, allocations: 3.938 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4066, allocations: 0 / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.881e-05/0.4067, allocations: 27.98 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.4073, allocations: 332.3 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.4075, allocations: 46.5 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.028e-05/0.4076, allocations: 20.88 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.4076, allocations: 0 / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/0.4077, allocations: 38.56 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4077, allocations: 0 / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008054/0.4085, allocations: 225 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.4086, allocations: 59.39 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.4097, allocations: 0.8613 MB / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.4097, allocations: 25.7 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.41, allocations: 216 kB / 0.5685 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.41, allocations: 11.91 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.4101, allocations: 17.72 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002551/0.4103, allocations: 366.7 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/0.4104, allocations: 23.98 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.4105, allocations: 16.17 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.4106, allocations: 52.77 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4106, allocations: 0 / 0.5689 GB, free: 12.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002604/0.4109, allocations: 125.3 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4109, allocations: 4 kB / 0.5691 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4109, allocations: 0 / 0.5691 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4109, allocations: 0 / 0.5691 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/0.411, allocations: 19.98 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.411, allocations: 0 / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/0.4111, allocations: 4 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.4111, allocations: 0 / 0.5691 GB, free: 12.59 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 (5): * Single equations (assignments): 5 * 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.0002665/0.4113, allocations: 217.7 kB / 0.5693 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.4114, allocations: 43.72 kB / 0.5693 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.4117, allocations: 129.1 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.4117, allocations: 11.98 kB / 0.5695 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4117, allocations: 0 / 0.5695 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4117, allocations: 0 / 0.5695 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000595/0.4123, allocations: 402 kB / 0.5698 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4123, allocations: 3.938 kB / 0.5698 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.956e-05/0.4124, allocations: 11.98 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4124, allocations: 0 / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.4124, allocations: 4.188 kB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.4124, allocations: 4 kB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4124, allocations: 7.938 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.4127, allocations: 211.2 kB / 0.5701 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.658e-05/0.4128, allocations: 31.72 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.4128, allocations: 4 kB / 0.5701 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.4129, allocations: 3.984 kB / 0.5701 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.4129, allocations: 11.94 kB / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.4129, allocations: 7.875 kB / 0.5701 GB, free: 11.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007265/0.4136, allocations: 0.6511 MB / 0.5708 GB, free: 10.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4136, allocations: 0 / 0.5708 GB, free: 10.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.4139, allocations: 31.94 kB / 0.5708 GB, free: 10.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001624/0.4155, allocations: 429.2 kB / 0.5712 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.4157, allocations: 43.97 kB / 0.5712 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4157, allocations: 0 / 0.5712 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.4158, allocations: 31.86 kB / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.4163, allocations: 32.64 kB / 0.5713 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.4175, allocations: 0.8351 MB / 0.5721 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.4177, allocations: 224.1 kB / 0.5723 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.4178, allocations: 15.44 kB / 0.5724 GB, free: 9.289 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4178, allocations: 0 / 0.5724 GB, free: 9.289 MB / 414.1 MB Notification: Performance of Templates: time 0.008755/0.4265, allocations: 3.845 MB / 0.5761 GB, free: 5.438 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.85231614697841]