Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002185/0.002185, allocations: 106.9 kB / 17.03 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.002162/0.002162, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.666/1.666, allocations: 205.1 MB / 223.8 MB, free: 12.22 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.2284/0.2284, allocations: 43.52 MB / 314.7 MB, free: 476 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.002185/0.002185, allocations: 70.56 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1311, allocations: 57.8 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003123/0.1343, allocations: 1.596 MB / 443.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1356, allocations: 0.9651 MB / 444.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.104e-05/0.1357, allocations: 4 kB / 444.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.136, allocations: 27.84 kB / 444.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.1362, allocations: 39.78 kB / 444.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.1366, allocations: 154.2 kB / 444.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.1368, allocations: 75.75 kB / 444.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1369, allocations: 23.92 kB / 444.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.784e-05/0.137, allocations: 19.92 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.1372, allocations: 39.83 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1372, allocations: 4 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.1373, allocations: 47.98 kB / 445 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.1374, allocations: 23.92 kB / 445 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.1374, allocations: 27.84 kB / 445 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.1377, allocations: 95.66 kB / 445.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.1377, allocations: 0 / 445.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1377, allocations: 4 kB / 445.1 MB, free: 2.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1377, allocations: 0 / 445.1 MB, free: 2.98 MB / 318.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.000478/0.1382, allocations: 387.2 kB / 445.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1382, allocations: 11.89 kB / 445.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.1383, allocations: 12.84 kB / 445.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.1385, allocations: 188.3 kB / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1385, allocations: 8.359 kB / 445.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.1385, allocations: 384 / 445.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.1388, allocations: 79.45 kB / 445.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1388, allocations: 0 / 445.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.1388, allocations: 4 kB / 445.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1388, allocations: 4 kB / 445.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.139, allocations: 35.97 kB / 445.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.1395, allocations: 308.7 kB / 446.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1396, allocations: 50.48 kB / 446.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.816e-05/0.1397, allocations: 28.94 kB / 446.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.1397, allocations: 4 kB / 446.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.1398, allocations: 38.44 kB / 446.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1398, allocations: 0 / 446.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008065/0.1406, allocations: 221.4 kB / 446.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.1407, allocations: 81.11 kB / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.1408, allocations: 133.7 kB / 446.7 MB, free: 1.215 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.1408, allocations: 25.7 kB / 446.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.1409, allocations: 100.1 kB / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.1409, allocations: 19.72 kB / 446.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/0.141, allocations: 17.72 kB / 446.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.1411, allocations: 326.8 kB / 447.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.1412, allocations: 35.97 kB / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.1413, allocations: 57.61 kB / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.1415, allocations: 88.8 kB / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1415, allocations: 4.031 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002441/0.1418, allocations: 117.5 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1418, allocations: 9.25 kB / 447.5 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1418, allocations: 0 / 447.5 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.1418, allocations: 3.984 kB / 447.5 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.142, allocations: 19.98 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.142, allocations: 4 kB / 447.5 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.142, allocations: 19.86 kB / 447.5 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.142, allocations: 4 kB / 447.5 MB, free: 348 kB / 318.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 7.994e-05/0.1421, allocations: 117.8 kB / 447.6 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.1422, allocations: 7.906 kB / 447.6 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.1425, allocations: 134.3 kB / 447.8 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1425, allocations: 0 / 447.8 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.1425, allocations: 4 kB / 447.8 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1425, allocations: 3.938 kB / 447.8 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.1431, allocations: 410.5 kB / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1431, allocations: 0 / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.858e-05/0.1432, allocations: 15.98 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1432, allocations: 4.281 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1433, allocations: 11.92 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1433, allocations: 0 / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1433, allocations: 3.938 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.1436, allocations: 223.3 kB / 448.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.1437, allocations: 81.02 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1437, allocations: 11.94 kB / 448.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.1438, allocations: 15.98 kB / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.1439, allocations: 4 kB / 448.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.1439, allocations: 0 / 448.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.225e-05/0.144, allocations: 111.2 kB / 448.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.144, allocations: 3.938 kB / 448.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.1443, allocations: 28 kB / 448.7 MB, free: 15.06 MB / 334.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.001111/0.1454, allocations: 445.1 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002968/0.1457, allocations: 95.8 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1457, allocations: 0 / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.1459, allocations: 47.97 kB / 449.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.1463, allocations: 15.98 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.1468, allocations: 198.5 kB / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1472, allocations: 0.6937 MB / 450.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.1473, allocations: 32.2 kB / 450.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.1473, allocations: 15.44 kB / 450.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1474, allocations: 0 / 450.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of Templates: time 0.004731/0.1521, allocations: 1.528 MB / 451.7 MB, free: 12.04 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches