Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.0016, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 242.5 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2099/0.2099, allocations: 44.18 MB / 336.8 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.72 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09566/0.09695, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.003102/0.1001, allocations: 1.693 MB / 470.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007486/0.1009, allocations: 423.2 kB / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.54e-05/0.1009, allocations: 0 / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.1012, allocations: 55.81 kB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.1013, allocations: 47.81 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.1017, allocations: 119 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.1018, allocations: 75.75 kB / 471.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.1019, allocations: 12 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.102, allocations: 27.91 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.415e-05/0.1021, allocations: 47.83 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1021, allocations: 4 kB / 471.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1022, allocations: 43.98 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.838e-05/0.1023, allocations: 23.91 kB / 471.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.1023, allocations: 27.75 kB / 471.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.1025, allocations: 75.89 kB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1025, allocations: 3.938 kB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1025, allocations: 0 / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1025, allocations: 0 / 471.8 MB, free: 12.16 MB / 350.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.0005158/0.103, allocations: 403.5 kB / 472.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1031, allocations: 8.031 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.1031, allocations: 20.73 kB / 472.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.1033, allocations: 190.3 kB / 472.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1034, allocations: 4.375 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.1034, allocations: 11.84 kB / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1036, allocations: 65.55 kB / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1036, allocations: 0 / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1036, allocations: 4 kB / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.1037, allocations: 11.98 kB / 472.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.1038, allocations: 31.97 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.1042, allocations: 296.8 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.1044, allocations: 58.55 kB / 472.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/0.1045, allocations: 24.97 kB / 472.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1046, allocations: 0 / 472.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.1046, allocations: 38.56 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.415e-06/0.1046, allocations: 3.984 kB / 473 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001404/0.106, allocations: 396.7 kB / 473.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.1061, allocations: 59.39 kB / 473.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.1062, allocations: 175.7 kB / 473.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1063, allocations: 29.7 kB / 473.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.1063, allocations: 104 kB / 473.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.1064, allocations: 35.47 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.1064, allocations: 25.7 kB / 473.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1065, allocations: 326.8 kB / 474.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.1067, allocations: 43.97 kB / 474.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.1068, allocations: 43.91 kB / 474.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.107, allocations: 92.81 kB / 474.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.107, allocations: 4 kB / 474.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002952/0.1073, allocations: 145.4 kB / 474.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1074, allocations: 8 kB / 474.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1074, allocations: 3.938 kB / 474.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.1074, allocations: 0 / 474.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1075, allocations: 23.98 kB / 474.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1075, allocations: 0 / 474.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.1076, allocations: 19.98 kB / 474.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1076, allocations: 0 / 474.5 MB, free: 9.277 MB / 350.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 9.443e-05/0.1077, allocations: 134.3 kB / 474.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.1078, allocations: 15.75 kB / 474.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003552/0.1081, allocations: 146.9 kB / 474.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1081, allocations: 8 kB / 474.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1081, allocations: 0 / 474.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1082, allocations: 3.984 kB / 474.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000621/0.1088, allocations: 468 kB / 475.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1088, allocations: 8.062 kB / 475.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.594e-05/0.1089, allocations: 23.98 kB / 475.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1089, allocations: 3.938 kB / 475.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1089, allocations: 8 kB / 475.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1089, allocations: 0 / 475.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1089, allocations: 3.938 kB / 475.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.1093, allocations: 249.5 kB / 475.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.1093, allocations: 89.02 kB / 475.6 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.1094, allocations: 4 kB / 475.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.1095, allocations: 7.984 kB / 475.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.1095, allocations: 11.98 kB / 475.7 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1095, allocations: 8.031 kB / 475.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.1096, allocations: 145.4 kB / 475.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1096, allocations: 0 / 475.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1099, allocations: 31.98 kB / 475.8 MB, free: 7.82 MB / 350.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.0009753/0.1109, allocations: 453.1 kB / 476.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.1112, allocations: 103.9 kB / 476.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1112, allocations: 0 / 476.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1114, allocations: 59.91 kB / 476.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.1118, allocations: 24.11 kB / 476.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004933/0.1123, allocations: 311.2 kB / 476.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.1126, allocations: 0.7121 MB / 477.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.1126, allocations: 19.42 kB / 477.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of SimCode: time 2.955e-06/0.1126, allocations: 0 / 477.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of Templates: time 0.003573/0.1162, allocations: 1.868 MB / 479.4 MB, free: 4.41 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches