Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009922/0.0009923, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001235/0.001235, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.323/1.323, allocations: 222.9 MB / 242.2 MB, free: 15.2 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.208/0.208, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 64.41 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1311, allocations: 60.82 MB / 469.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.00311/0.1342, allocations: 1.581 MB / 470.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007372/0.135, allocations: 419.2 kB / 471.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.1351, allocations: 0 / 471.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000566/0.1356, allocations: 443.2 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.136, allocations: 255.5 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.1363, allocations: 123 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.1366, allocations: 155.8 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1367, allocations: 15.94 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.1369, allocations: 111.7 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.1372, allocations: 207.7 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.1372, allocations: 0 / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.751e-05/0.1373, allocations: 27.92 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1374, allocations: 75.7 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.762e-05/0.1375, allocations: 103 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1377, allocations: 247 kB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1377, allocations: 0 / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1377, allocations: 0 / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1378, allocations: 0 / 473 MB, free: 10.63 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006901/0.1385, allocations: 0.6261 MB / 473.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1385, allocations: 12.03 kB / 473.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.489e-05/0.1386, allocations: 40.38 kB / 473.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1388, allocations: 288.2 kB / 473.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1389, allocations: 4.375 kB / 473.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.1389, allocations: 384 / 473.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.139, allocations: 61.73 kB / 474 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1391, allocations: 4 kB / 474 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1391, allocations: 0 / 474 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1391, allocations: 4 kB / 474 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.1392, allocations: 31.95 kB / 474 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.1397, allocations: 376.7 kB / 474.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.1398, allocations: 42.56 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.807e-05/0.1399, allocations: 24.88 kB / 474.5 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.1399, allocations: 0 / 474.5 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.1399, allocations: 38.55 kB / 474.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1399, allocations: 0 / 474.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003183/0.1403, allocations: 113.2 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.1403, allocations: 55.41 kB / 474.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007437/0.1411, allocations: 0.8496 MB / 475.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1411, allocations: 25.7 kB / 475.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.1413, allocations: 215.9 kB / 475.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.1413, allocations: 7.891 kB / 475.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.1413, allocations: 17.72 kB / 475.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1415, allocations: 358.7 kB / 476.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.174e-05/0.1415, allocations: 23.92 kB / 476.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.878e-05/0.1416, allocations: 11.98 kB / 476.2 MB, free: 7.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.1417, allocations: 40.83 kB / 476.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1417, allocations: 0 / 476.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001788/0.1419, allocations: 97.2 kB / 476.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1419, allocations: 4 kB / 476.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.142, allocations: 4 kB / 476.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.142, allocations: 0 / 476.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.529e-05/0.1421, allocations: 11.98 kB / 476.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1421, allocations: 3.938 kB / 476.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.001e-05/0.1421, allocations: 7.906 kB / 476.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1422, allocations: 3.938 kB / 476.3 MB, free: 7.035 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 (3): * Single equations (assignments): 3 * 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.0002081/0.1424, allocations: 217.7 kB / 476.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.1424, allocations: 39.53 kB / 476.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.1427, allocations: 120.9 kB / 476.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1427, allocations: 0 / 476.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1427, allocations: 0 / 476.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1427, allocations: 0 / 476.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.143, allocations: 289.5 kB / 477 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.143, allocations: 0 / 477 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.1431, allocations: 15.98 kB / 477 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1431, allocations: 0 / 477 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1431, allocations: 0 / 477 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1431, allocations: 3.938 kB / 477 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1431, allocations: 4 kB / 477 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.1433, allocations: 207.2 kB / 477.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.1434, allocations: 104.6 kB / 477.3 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.1434, allocations: 4 kB / 477.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.1435, allocations: 0 / 477.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.1436, allocations: 7.984 kB / 477.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.1436, allocations: 4 kB / 477.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006619/0.1443, allocations: 0.6472 MB / 478 MB, free: 5.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1443, allocations: 3.938 kB / 478 MB, free: 5.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.1445, allocations: 12 kB / 478 MB, free: 5.27 MB / 350.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 (3): * Single equations (assignments): 3 * 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.0008564/0.1454, allocations: 352 kB / 478.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.1456, allocations: 43.84 kB / 478.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1456, allocations: 0 / 478.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.435e-05/0.1457, allocations: 19.98 kB / 478.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.1461, allocations: 21.95 kB / 478.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.1472, allocations: 0.7794 MB / 479.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.1476, allocations: 0.8182 MB / 480 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.275e-05/0.1477, allocations: 4 kB / 480 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.1477, allocations: 11.44 kB / 480 MB, free: 3.305 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1477, allocations: 0 / 480 MB, free: 3.305 MB / 350.1 MB Notification: Performance of Templates: time 0.004449/0.1521, allocations: 1.331 MB / 481.4 MB, free: 1.984 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches