Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 111.2 kB / 16.41 MB, free: 6.027 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.001808/0.001808, allocations: 185.8 kB / 17.34 MB, free: 5.633 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.432/1.432, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.205/0.205, allocations: 43.52 MB / 314.1 MB, free: 472 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.001636/0.001636, allocations: 71.89 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1243, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003989/0.1283, allocations: 1.612 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009431/0.1293, allocations: 339.5 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1295, allocations: 0 / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.1299, allocations: 79.78 kB / 0.4899 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.1302, allocations: 63.73 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.1307, allocations: 155.6 kB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1309, allocations: 75.81 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.1312, allocations: 23.97 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.764e-05/0.1312, allocations: 31.91 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.1314, allocations: 55.75 kB / 0.4903 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.1314, allocations: 4 kB / 0.4903 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-05/0.1315, allocations: 36 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.31e-05/0.1316, allocations: 23.91 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.1316, allocations: 35.73 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.1318, allocations: 91.72 kB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1319, allocations: 0 / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1319, allocations: 0 / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1319, allocations: 0 / 0.4904 GB, free: 9.18 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.0005583/0.1324, allocations: 422.2 kB / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1325, allocations: 11.89 kB / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.1326, allocations: 12.84 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.1328, allocations: 200.1 kB / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1328, allocations: 4.375 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.1328, allocations: 384 / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.133, allocations: 61.8 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.133, allocations: 0 / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.133, allocations: 4 kB / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.133, allocations: 0 / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.1332, allocations: 55.88 kB / 0.4912 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006117/0.1338, allocations: 304.7 kB / 0.4915 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.134, allocations: 46.56 kB / 0.4915 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.934e-05/0.1342, allocations: 28.92 kB / 0.4915 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.1342, allocations: 4 kB / 0.4915 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.584e-05/0.1343, allocations: 38.5 kB / 0.4916 GB, free: 7.852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.1343, allocations: 0 / 0.4916 GB, free: 7.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009867/0.1353, allocations: 233.1 kB / 0.4918 GB, free: 7.617 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.1354, allocations: 59.41 kB / 0.4919 GB, free: 7.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.1356, allocations: 199.3 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.1357, allocations: 29.7 kB / 0.4921 GB, free: 7.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.412e-05/0.1358, allocations: 108 kB / 0.4922 GB, free: 7.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.1358, allocations: 27.59 kB / 0.4922 GB, free: 7.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.1359, allocations: 21.7 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.1361, allocations: 322.8 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.1362, allocations: 43.95 kB / 0.4926 GB, free: 6.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.1364, allocations: 40.03 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.1366, allocations: 84.8 kB / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1367, allocations: 3.938 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002955/0.137, allocations: 133.5 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.137, allocations: 4 kB / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.137, allocations: 0 / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.137, allocations: 4 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.1372, allocations: 19.98 kB / 0.4929 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1372, allocations: 0 / 0.4929 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.1373, allocations: 19.92 kB / 0.4929 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.1373, allocations: 4 kB / 0.4929 GB, free: 6.457 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.0001391/0.1374, allocations: 129.8 kB / 0.493 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.505e-05/0.1375, allocations: 15.81 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.1379, allocations: 139 kB / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1379, allocations: 0 / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1379, allocations: 0 / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1379, allocations: 3.938 kB / 0.4931 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006049/0.1385, allocations: 414.5 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1385, allocations: 0 / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.028e-05/0.1386, allocations: 23.92 kB / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1386, allocations: 0 / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1387, allocations: 3.938 kB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1387, allocations: 0 / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1387, allocations: 11.98 kB / 0.4936 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.139, allocations: 211.4 kB / 0.4938 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.1391, allocations: 85 kB / 0.4939 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.1391, allocations: 7.938 kB / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.299e-05/0.1392, allocations: 8 kB / 0.4939 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.1393, allocations: 11.98 kB / 0.4939 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.1393, allocations: 0 / 0.4939 GB, free: 5.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1394, allocations: 155.9 kB / 0.494 GB, free: 5.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1394, allocations: 0 / 0.494 GB, free: 5.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1397, allocations: 24 kB / 0.4941 GB, free: 5.125 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.0009735/0.1407, allocations: 416.2 kB / 0.4945 GB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.141, allocations: 95.91 kB / 0.4946 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.141, allocations: 0 / 0.4946 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.1411, allocations: 47.91 kB / 0.4946 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.1415, allocations: 23.12 kB / 0.4946 GB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000611/0.1422, allocations: 254.8 kB / 0.4949 GB, free: 4.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1425, allocations: 0.7158 MB / 0.4956 GB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.644e-05/0.1426, allocations: 19.97 kB / 0.4956 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.1427, allocations: 15.42 kB / 0.4956 GB, free: 3.543 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1427, allocations: 0 / 0.4956 GB, free: 3.543 MB / 382.1 MB Notification: Performance of Templates: time 0.004222/0.1469, allocations: 1.293 MB / 0.4969 GB, free: 2.25 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches