Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 105.4 kB / 17.85 MB, free: 5.656 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.00198/0.001981, allocations: 197.9 kB / 18.77 MB, free: 4.738 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.395/1.395, allocations: 222.9 MB / 242.4 MB, free: 13.74 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.2203/0.2203, allocations: 44.18 MB / 336.8 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 69.59 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1116, allocations: 60.83 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003557/0.1152, allocations: 1.692 MB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008471/0.1161, allocations: 427.1 kB / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.1162, allocations: 0 / 471.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.1165, allocations: 47.88 kB / 471.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.1167, allocations: 39.89 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.1171, allocations: 117.9 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.1173, allocations: 75.75 kB / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1174, allocations: 12 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.1175, allocations: 35.84 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.946e-05/0.1176, allocations: 39.83 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.1176, allocations: 0 / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.1177, allocations: 51.92 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.748e-05/0.1178, allocations: 19.92 kB / 471.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.1179, allocations: 27.8 kB / 471.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.118, allocations: 71.89 kB / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1181, allocations: 0 / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1181, allocations: 0 / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.1181, allocations: 0 / 471.8 MB, free: 12.17 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.0004967/0.1186, allocations: 403.5 kB / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1186, allocations: 8.031 kB / 472.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.1187, allocations: 8.844 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.1189, allocations: 208 kB / 472.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.1189, allocations: 384 / 472.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.1189, allocations: 8.375 kB / 472.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.1191, allocations: 61.8 kB / 472.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1191, allocations: 0 / 472.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1191, allocations: 3.938 kB / 472.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1192, allocations: 8 kB / 472.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.1193, allocations: 43.89 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.1197, allocations: 296.7 kB / 472.8 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.12, allocations: 62.58 kB / 472.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.891e-05/0.1201, allocations: 24.97 kB / 472.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.1201, allocations: 0 / 472.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.1201, allocations: 34.56 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1201, allocations: 3.938 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001495/0.1217, allocations: 376.8 kB / 473.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.1217, allocations: 59.34 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.1219, allocations: 164.2 kB / 473.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1219, allocations: 25.7 kB / 473.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.122, allocations: 100.1 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.1221, allocations: 39.44 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.1221, allocations: 21.72 kB / 473.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1223, allocations: 330.8 kB / 474.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.1224, allocations: 35.97 kB / 474.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1225, allocations: 51.84 kB / 474.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.1228, allocations: 96.8 kB / 474.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1228, allocations: 4 kB / 474.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003256/0.1231, allocations: 137.5 kB / 474.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1232, allocations: 4 kB / 474.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1232, allocations: 4.562 kB / 474.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1232, allocations: 0 / 474.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1233, allocations: 35.8 kB / 474.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1233, allocations: 0 / 474.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.425e-05/0.1234, allocations: 19.92 kB / 474.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.1234, allocations: 4 kB / 474.4 MB, free: 9.32 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.547e-05/0.1235, allocations: 126.4 kB / 474.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.1236, allocations: 11.81 kB / 474.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003877/0.1239, allocations: 158.3 kB / 474.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.124, allocations: 3.938 kB / 474.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.124, allocations: 3.938 kB / 474.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.124, allocations: 0 / 474.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006531/0.1246, allocations: 464.1 kB / 475.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1247, allocations: 0 / 475.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.1248, allocations: 31.92 kB / 475.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1248, allocations: 0 / 475.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1248, allocations: 4 kB / 475.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1248, allocations: 3.938 kB / 475.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1248, allocations: 0 / 475.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.1252, allocations: 261.6 kB / 475.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.1253, allocations: 88.94 kB / 475.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.1253, allocations: 4 kB / 475.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.1254, allocations: 7.984 kB / 475.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.1254, allocations: 15.98 kB / 475.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1254, allocations: 4 kB / 475.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1256, allocations: 127.2 kB / 475.7 MB, free: 7.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1256, allocations: 0 / 475.7 MB, free: 7.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1258, allocations: 24 kB / 475.8 MB, free: 7.891 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.001089/0.1269, allocations: 459 kB / 476.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003514/0.1273, allocations: 111.9 kB / 476.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1273, allocations: 0 / 476.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.1275, allocations: 55.91 kB / 476.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.1279, allocations: 27.67 kB / 476.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.1284, allocations: 303.5 kB / 476.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1287, allocations: 0.7121 MB / 477.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.1288, allocations: 15.44 kB / 477.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1288, allocations: 0 / 477.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of Templates: time 0.00407/0.1329, allocations: 1.83 MB / 479.3 MB, free: 4.52 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches