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.0009633/0.0009636, allocations: 91.73 kB / 17.35 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.001164/0.001164, allocations: 178.5 kB / 18.26 MB, free: 5.391 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.412/1.412, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2153/0.2153, allocations: 44.25 MB / 337.7 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003615, allocations: 13.52 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1349, allocations: 61.93 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002501/0.1374, allocations: 1.287 MB / 473.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008283/0.1383, allocations: 403.3 kB / 473.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.1384, allocations: 4 kB / 473.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.139, allocations: 443.2 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003784/0.1394, allocations: 251.5 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.1398, allocations: 105.9 kB / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.1401, allocations: 155.7 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1402, allocations: 16 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.1404, allocations: 103.7 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.1407, allocations: 195.6 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.1407, allocations: 4 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.277e-05/0.1408, allocations: 20 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1409, allocations: 79.67 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.1411, allocations: 124.7 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.1414, allocations: 235 kB / 475.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1414, allocations: 0 / 475.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1414, allocations: 3.938 kB / 475.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1414, allocations: 0 / 475.6 MB, free: 9.926 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.0007924/0.1422, allocations: 0.5836 MB / 476.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1422, allocations: 12.03 kB / 476.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.85e-05/0.1423, allocations: 36.47 kB / 476.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.1427, allocations: 300.1 kB / 476.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1427, allocations: 12.36 kB / 476.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.1427, allocations: 384 / 476.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.1429, allocations: 57.81 kB / 476.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1429, allocations: 0 / 476.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.143, allocations: 4 kB / 476.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.143, allocations: 0 / 476.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.1431, allocations: 47.91 kB / 476.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.1437, allocations: 372.7 kB / 477 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.1438, allocations: 46.56 kB / 477.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.786e-05/0.1439, allocations: 24.94 kB / 477.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.144, allocations: 0 / 477.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.144, allocations: 38.5 kB / 477.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.144, allocations: 0 / 477.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004119/0.1444, allocations: 129.2 kB / 477.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.1445, allocations: 51.41 kB / 477.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.1455, allocations: 0.8496 MB / 478.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.1456, allocations: 29.7 kB / 478.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.1458, allocations: 208.1 kB / 478.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.1459, allocations: 15.81 kB / 478.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.1459, allocations: 9.719 kB / 478.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.1462, allocations: 370.7 kB / 478.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.1462, allocations: 12 kB / 478.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.22e-05/0.1463, allocations: 19.98 kB / 478.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.1465, allocations: 52.77 kB / 478.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1465, allocations: 0 / 478.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002267/0.1467, allocations: 109.2 kB / 479 MB, free: 6.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1467, allocations: 8 kB / 479 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1468, allocations: 3.984 kB / 479 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1468, allocations: 0 / 479 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.1469, allocations: 8 kB / 479 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1469, allocations: 0 / 479 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.169e-05/0.147, allocations: 11.98 kB / 479 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.147, allocations: 0 / 479 MB, free: 6.316 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.0002202/0.1472, allocations: 217.7 kB / 479.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.1473, allocations: 39.44 kB / 479.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.1476, allocations: 128.9 kB / 479.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1476, allocations: 4.375 kB / 479.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1476, allocations: 0 / 479.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1476, allocations: 0 / 479.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.1479, allocations: 293.5 kB / 479.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1479, allocations: 3.984 kB / 479.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.148, allocations: 15.94 kB / 479.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.148, allocations: 0 / 479.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.148, allocations: 0 / 479.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.148, allocations: 0 / 479.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.148, allocations: 0 / 479.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.1483, allocations: 214.9 kB / 479.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-05/0.1484, allocations: 108.5 kB / 480 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.1485, allocations: 8 kB / 480 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.483e-05/0.1485, allocations: 7.984 kB / 480 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.1486, allocations: 0 / 480 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.1486, allocations: 4 kB / 480 MB, free: 5.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006661/0.1493, allocations: 0.6472 MB / 480.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1493, allocations: 0 / 480.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.1496, allocations: 23.98 kB / 480.7 MB, free: 4.516 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.0008877/0.1505, allocations: 346.2 kB / 481.1 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.1507, allocations: 47.84 kB / 481.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1507, allocations: 0 / 481.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.579e-05/0.1508, allocations: 23.98 kB / 481.1 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.1513, allocations: 32.61 kB / 481.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.1526, allocations: 0.8412 MB / 482 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.1531, allocations: 0.8145 MB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.324e-05/0.1532, allocations: 11.97 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.1532, allocations: 11.44 kB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of SimCode: time 5.2e-07/0.1532, allocations: 4 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of Templates: time 0.004737/0.158, allocations: 1.202 MB / 484 MB, free: 1.27 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