Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 109.1 kB / 16.41 MB, free: 6.461 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.001159/0.001159, allocations: 189.5 kB / 17.34 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2195/0.2195, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 69.47 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1161, allocations: 57.8 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.003004/0.1191, allocations: 1.608 MB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006461/0.1198, allocations: 323.6 kB / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.1199, allocations: 0 / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005437/0.1204, allocations: 459.1 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003737/0.1208, allocations: 247.4 kB / 0.4905 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.1212, allocations: 115.7 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.1214, allocations: 163.7 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1216, allocations: 20.17 kB / 0.4907 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.1217, allocations: 107.7 kB / 0.4908 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.122, allocations: 211.6 kB / 0.491 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.122, allocations: 4 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.661e-05/0.1221, allocations: 32 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1222, allocations: 87.67 kB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.618e-05/0.1223, allocations: 98.98 kB / 0.4913 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.1226, allocations: 255 kB / 0.4915 GB, free: 8.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1226, allocations: 4 kB / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1226, allocations: 0 / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1227, allocations: 0 / 0.4915 GB, free: 8.051 MB / 382.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.0007324/0.1234, allocations: 0.6297 MB / 0.4921 GB, free: 7.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1234, allocations: 11.89 kB / 0.4921 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.025e-05/0.1235, allocations: 44.38 kB / 0.4922 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.1238, allocations: 292.2 kB / 0.4925 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1238, allocations: 4.375 kB / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.1239, allocations: 4.375 kB / 0.4925 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.124, allocations: 77.45 kB / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1241, allocations: 0 / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1241, allocations: 0 / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1241, allocations: 0 / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.1242, allocations: 39.97 kB / 0.4926 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.1247, allocations: 388.6 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1248, allocations: 46.48 kB / 0.493 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.757e-05/0.1249, allocations: 24.94 kB / 0.493 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.1249, allocations: 0 / 0.493 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.125, allocations: 34.56 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.125, allocations: 0 / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007665/0.1258, allocations: 279.9 kB / 0.4933 GB, free: 6.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.1258, allocations: 55.39 kB / 0.4934 GB, free: 5.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007921/0.1266, allocations: 0.8573 MB / 0.4942 GB, free: 5.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1266, allocations: 29.7 kB / 0.4942 GB, free: 5.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.1268, allocations: 204.1 kB / 0.4944 GB, free: 4.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.1268, allocations: 31.55 kB / 0.4945 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.1269, allocations: 17.72 kB / 0.4945 GB, free: 4.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.127, allocations: 370.8 kB / 0.4948 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.896e-05/0.1271, allocations: 23.98 kB / 0.4948 GB, free: 4.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.219e-05/0.1272, allocations: 36.05 kB / 0.4949 GB, free: 4.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.1274, allocations: 84.72 kB / 0.495 GB, free: 4.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1274, allocations: 3.938 kB / 0.495 GB, free: 4.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002642/0.1277, allocations: 133.2 kB / 0.4951 GB, free: 4.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1277, allocations: 7.984 kB / 0.4951 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1277, allocations: 4 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1278, allocations: 4 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1279, allocations: 19.98 kB / 0.4951 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1279, allocations: 0 / 0.4951 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.933e-05/0.128, allocations: 15.92 kB / 0.4951 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.128, allocations: 4 kB / 0.4951 GB, free: 4.082 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0001879/0.1282, allocations: 217.7 kB / 0.4954 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.1282, allocations: 39.44 kB / 0.4954 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.1286, allocations: 165.4 kB / 0.4955 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1286, allocations: 0 / 0.4955 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1286, allocations: 0 / 0.4955 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1286, allocations: 11.88 kB / 0.4956 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005783/0.1292, allocations: 494.4 kB / 0.496 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1292, allocations: 0 / 0.496 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.1293, allocations: 19.98 kB / 0.4961 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1293, allocations: 0 / 0.4961 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.1293, allocations: 7.938 kB / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1293, allocations: 0 / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1293, allocations: 4.469 kB / 0.4961 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.1296, allocations: 254.8 kB / 0.4963 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/0.1297, allocations: 104.6 kB / 0.4964 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.1297, allocations: 3.938 kB / 0.4964 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.339e-05/0.1298, allocations: 11.98 kB / 0.4964 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1299, allocations: 4 kB / 0.4964 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.1299, allocations: 4 kB / 0.4964 GB, free: 2.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005957/0.1305, allocations: 0.6394 MB / 0.4971 GB, free: 2.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1305, allocations: 4 kB / 0.4971 GB, free: 2.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.1308, allocations: 31.98 kB / 0.4971 GB, free: 1.984 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0008986/0.1317, allocations: 411.8 kB / 0.4975 GB, free: 1.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.132, allocations: 75.95 kB / 0.4976 GB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.132, allocations: 0 / 0.4976 GB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1321, allocations: 43.91 kB / 0.4976 GB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.1325, allocations: 29.81 kB / 0.4976 GB, free: 1.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.1336, allocations: 0.7876 MB / 0.4984 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.1341, allocations: 0.826 MB / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.525e-05/0.1341, allocations: 8 kB / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.1342, allocations: 15.44 kB / 0.4992 GB, free: 15.78 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1342, allocations: 0 / 0.4992 GB, free: 15.78 MB / 398.1 MB Notification: Performance of Templates: time 0.005299/0.1395, allocations: 1.565 MB / 0.5007 GB, free: 14.21 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches