Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 103.3 kB / 17.21 MB, free: 6.266 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.001169/0.001169, allocations: 190 kB / 18.12 MB, free: 5.363 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.385/1.385, allocations: 222.9 MB / 241.8 MB, free: 15.43 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.2146/0.2146, allocations: 44.18 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 72.47 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.14, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003233/0.1432, allocations: 1.629 MB / 470.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008117/0.1441, allocations: 419.3 kB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.1441, allocations: 0 / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.1445, allocations: 123.8 kB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.1447, allocations: 79.77 kB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.145, allocations: 99.75 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1451, allocations: 83.86 kB / 470.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1453, allocations: 20.12 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.206e-05/0.1453, allocations: 39.83 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1455, allocations: 75.8 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1455, allocations: 4 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.194e-05/0.1456, allocations: 39.97 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-05/0.1457, allocations: 31.91 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.1457, allocations: 35.69 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.1459, allocations: 115.9 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1459, allocations: 0 / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1459, allocations: 0 / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1459, allocations: 0 / 471.3 MB, free: 12.05 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005249/0.1465, allocations: 426.8 kB / 471.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1465, allocations: 8.031 kB / 471.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.1466, allocations: 12.84 kB / 471.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1468, allocations: 211.9 kB / 471.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1468, allocations: 4.375 kB / 471.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.1468, allocations: 4.375 kB / 471.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.147, allocations: 57.61 kB / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.147, allocations: 0 / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.147, allocations: 4 kB / 472 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1471, allocations: 0 / 472 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.1472, allocations: 31.91 kB / 472 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.1476, allocations: 316.7 kB / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.1477, allocations: 42.5 kB / 472.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.1478, allocations: 20.94 kB / 472.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1478, allocations: 0 / 472.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.1479, allocations: 34.5 kB / 472.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1479, allocations: 8 kB / 472.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009696/0.1489, allocations: 245.3 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.1489, allocations: 51.41 kB / 472.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.1492, allocations: 278.2 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1492, allocations: 29.7 kB / 473 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.005e-05/0.1493, allocations: 112 kB / 473.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.1493, allocations: 19.66 kB / 473.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.1494, allocations: 25.7 kB / 473.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1496, allocations: 326.8 kB / 473.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.383e-05/0.1497, allocations: 31.97 kB / 473.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.115e-05/0.1498, allocations: 23.98 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.15, allocations: 80.81 kB / 473.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.15, allocations: 0 / 473.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002422/0.1502, allocations: 125.3 kB / 473.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1502, allocations: 4 kB / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1503, allocations: 0 / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1503, allocations: 0 / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1504, allocations: 19.98 kB / 473.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1504, allocations: 7.938 kB / 473.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.035e-05/0.1505, allocations: 4 kB / 473.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1505, allocations: 0 / 473.8 MB, free: 9.309 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 (8): * Single equations (assignments): 8 * 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.0001128/0.1506, allocations: 134.4 kB / 473.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.1506, allocations: 15.81 kB / 474 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.1509, allocations: 139.3 kB / 474.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1509, allocations: 4 kB / 474.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.151, allocations: 3.938 kB / 474.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.151, allocations: 0 / 474.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005471/0.1515, allocations: 427.2 kB / 474.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.1515, allocations: 4 kB / 474.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.461e-05/0.1516, allocations: 19.92 kB / 474.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1516, allocations: 4.031 kB / 474.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.1516, allocations: 4 kB / 474.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1516, allocations: 0 / 474.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1517, allocations: 3.938 kB / 474.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1519, allocations: 212.2 kB / 474.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.152, allocations: 92.86 kB / 474.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.152, allocations: 8 kB / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.1521, allocations: 7.984 kB / 474.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.1521, allocations: 4 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1522, allocations: 8 kB / 474.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.1523, allocations: 203.2 kB / 475.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1523, allocations: 0 / 475.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.1526, allocations: 24 kB / 475.1 MB, free: 7.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001038/0.1537, allocations: 463.3 kB / 475.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.1539, allocations: 71.95 kB / 475.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1539, allocations: 0 / 475.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.397e-05/0.154, allocations: 47.91 kB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.1544, allocations: 17.77 kB / 475.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.155, allocations: 345.2 kB / 476 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.1553, allocations: 0.716 MB / 476.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.283e-05/0.1554, allocations: 28.94 kB / 476.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.1555, allocations: 11.44 kB / 476.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1555, allocations: 0 / 476.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of Templates: time 0.003921/0.1594, allocations: 1.344 MB / 478.1 MB, free: 5.012 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches