Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 105 kB / 16.41 MB, free: 6.504 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.001308/0.001308, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.492/1.492, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.2201/0.2201, allocations: 43.53 MB / 314.1 MB, free: 456 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.001472/0.001472, allocations: 70.03 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1231, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003156/0.1263, allocations: 1.616 MB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006384/0.127, allocations: 343.5 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.127, allocations: 4 kB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007084/0.1278, allocations: 455.1 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.1282, allocations: 259.4 kB / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.1286, allocations: 147.7 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.1289, allocations: 171.7 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.129, allocations: 23.98 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1291, allocations: 107.8 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.1293, allocations: 219.6 kB / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.1294, allocations: 4 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.37e-05/0.1295, allocations: 31.98 kB / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.1296, allocations: 87.67 kB / 0.4912 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.483e-05/0.1297, allocations: 103 kB / 0.4913 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.13, allocations: 262.9 kB / 0.4916 GB, free: 7.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.13, allocations: 3.938 kB / 0.4916 GB, free: 7.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.13, allocations: 4 kB / 0.4916 GB, free: 7.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.13, allocations: 0 / 0.4916 GB, free: 7.969 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.0007353/0.1308, allocations: 0.6336 MB / 0.4922 GB, free: 7.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1308, allocations: 15.89 kB / 0.4922 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.305e-05/0.1309, allocations: 40.38 kB / 0.4923 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.1312, allocations: 296.2 kB / 0.4926 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.1312, allocations: 384 / 0.4926 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.1313, allocations: 4.375 kB / 0.4926 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1314, allocations: 77.75 kB / 0.4926 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1315, allocations: 3.938 kB / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1315, allocations: 0 / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1315, allocations: 4 kB / 0.4926 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.1316, allocations: 39.95 kB / 0.4927 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.1322, allocations: 396.7 kB / 0.4931 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.1323, allocations: 54.5 kB / 0.4931 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.936e-05/0.1324, allocations: 28.92 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1324, allocations: 0 / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.1324, allocations: 30.56 kB / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1324, allocations: 0 / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007985/0.1332, allocations: 303.9 kB / 0.4935 GB, free: 5.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.1333, allocations: 51.41 kB / 0.4935 GB, free: 5.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000764/0.1341, allocations: 0.8535 MB / 0.4943 GB, free: 4.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1341, allocations: 25.7 kB / 0.4944 GB, free: 4.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.1343, allocations: 220 kB / 0.4946 GB, free: 4.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.614e-05/0.1344, allocations: 27.66 kB / 0.4946 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.1344, allocations: 25.66 kB / 0.4946 GB, free: 4.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1346, allocations: 366.7 kB / 0.495 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1347, allocations: 35.97 kB / 0.495 GB, free: 4.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.1348, allocations: 35.97 kB / 0.495 GB, free: 4.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.135, allocations: 92.8 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.135, allocations: 0 / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003014/0.1353, allocations: 157 kB / 0.4953 GB, free: 3.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1354, allocations: 8 kB / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1354, allocations: 0 / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1354, allocations: 0 / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1355, allocations: 27.98 kB / 0.4953 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1355, allocations: 0 / 0.4953 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.1356, allocations: 11.92 kB / 0.4953 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1356, allocations: 4 kB / 0.4953 GB, free: 3.91 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.0001912/0.1358, allocations: 217.7 kB / 0.4955 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.1359, allocations: 39.53 kB / 0.4956 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.1362, allocations: 185.3 kB / 0.4958 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1362, allocations: 0 / 0.4958 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1363, allocations: 0 / 0.4958 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1363, allocations: 3.938 kB / 0.4958 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006222/0.1369, allocations: 0.5061 MB / 0.4962 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1369, allocations: 0 / 0.4962 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.137, allocations: 19.98 kB / 0.4963 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.137, allocations: 4 kB / 0.4963 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.137, allocations: 3.938 kB / 0.4963 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.137, allocations: 0 / 0.4963 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.137, allocations: 0 / 0.4963 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.1374, allocations: 259.5 kB / 0.4965 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.1375, allocations: 108.5 kB / 0.4966 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.1375, allocations: 3.938 kB / 0.4966 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.1376, allocations: 15.98 kB / 0.4966 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.1376, allocations: 7.922 kB / 0.4967 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.1377, allocations: 7.938 kB / 0.4967 GB, free: 2.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005843/0.1382, allocations: 0.6433 MB / 0.4973 GB, free: 1.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1383, allocations: 4 kB / 0.4973 GB, free: 1.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1385, allocations: 24 kB / 0.4973 GB, free: 1.766 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.0009218/0.1394, allocations: 409.4 kB / 0.4977 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000291/0.1397, allocations: 91.92 kB / 0.4978 GB, free: 1.309 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1398, allocations: 0 / 0.4978 GB, free: 1.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.1399, allocations: 47.91 kB / 0.4978 GB, free: 1.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.1403, allocations: 29.81 kB / 0.4979 GB, free: 1.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.1414, allocations: 0.8071 MB / 0.4987 GB, free: 408 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.1419, allocations: 0.826 MB / 0.4995 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.192e-05/0.142, allocations: 15.98 kB / 0.4995 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.142, allocations: 15.44 kB / 0.4995 GB, free: 15.52 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.142, allocations: 0 / 0.4995 GB, free: 15.52 MB / 398.1 MB Notification: Performance of Templates: time 0.004944/0.147, allocations: 1.604 MB / 0.5011 GB, free: 13.91 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches