Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 96.67 kB / 17 MB, free: 6.121 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.001855/0.001855, allocations: 189 kB / 17.89 MB, free: 5.699 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.463/1.463, allocations: 223.3 MB / 241.9 MB, free: 296 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2353/0.2353, allocations: 44.25 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.0003041, allocations: 10.12 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1269, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.001757/0.1287, allocations: 1.262 MB / 472.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006253/0.1293, allocations: 367.7 kB / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-05/0.1293, allocations: 0 / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.1295, allocations: 23.86 kB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.1297, allocations: 31.91 kB / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.1299, allocations: 71.84 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.13, allocations: 51.84 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.8e-05/0.1301, allocations: 11.98 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.846e-05/0.1301, allocations: 11.94 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.1302, allocations: 23.84 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1302, allocations: 4 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.159e-05/0.1303, allocations: 24 kB / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.1303, allocations: 11.92 kB / 473.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.1304, allocations: 33.7 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.1305, allocations: 63.91 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1305, allocations: 0 / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1305, allocations: 3.938 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.1305, allocations: 0 / 473.6 MB, free: 11.7 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.0003939/0.1309, allocations: 371.3 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.131, allocations: 8.562 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.131, allocations: 11.84 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.1312, allocations: 186.9 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1312, allocations: 11.95 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.1312, allocations: 0 / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.1314, allocations: 49.69 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1314, allocations: 0 / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.1314, allocations: 0 / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1314, allocations: 3.984 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.532e-05/0.1315, allocations: 31.92 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.1318, allocations: 276.9 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.132, allocations: 42.56 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.1321, allocations: 20.86 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.1321, allocations: 0 / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1321, allocations: 46.58 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1321, allocations: 0 / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005101/0.1326, allocations: 153.2 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.1327, allocations: 55.34 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.1329, allocations: 172.3 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.1329, allocations: 25.7 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.1329, allocations: 92.14 kB / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.133, allocations: 23.73 kB / 475.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.133, allocations: 0 / 475.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1331, allocations: 322.8 kB / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.504e-05/0.1331, allocations: 19.98 kB / 475.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.818e-05/0.1332, allocations: 19.98 kB / 475.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.322e-05/0.1333, allocations: 23.98 kB / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1333, allocations: 0 / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001663/0.1335, allocations: 89.58 kB / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1335, allocations: 7.984 kB / 475.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1335, allocations: 0 / 475.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1335, allocations: 4 kB / 475.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.015e-05/0.1336, allocations: 11.94 kB / 475.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1336, allocations: 8 kB / 475.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.034e-05/0.1337, allocations: 11.94 kB / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.1337, allocations: 3.938 kB / 475.6 MB, free: 9.426 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.398e-05/0.1338, allocations: 117.8 kB / 475.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.1338, allocations: 7.906 kB / 475.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.134, allocations: 102 kB / 475.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.134, allocations: 8.219 kB / 475.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.134, allocations: 0 / 475.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.134, allocations: 3.984 kB / 475.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/0.1344, allocations: 362.5 kB / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1345, allocations: 0 / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.1345, allocations: 16.36 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1345, allocations: 0 / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1345, allocations: 0 / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.1345, allocations: 4 kB / 476.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1346, allocations: 3.953 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.1348, allocations: 187.4 kB / 476.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.1348, allocations: 89 kB / 476.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.1349, allocations: 0 / 476.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.457e-05/0.1349, allocations: 8 kB / 476.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.135, allocations: 7.984 kB / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.135, allocations: 7.953 kB / 476.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.706e-05/0.1351, allocations: 127.2 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1351, allocations: 0 / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1353, allocations: 15.91 kB / 476.7 MB, free: 8.273 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008677/0.1362, allocations: 407 kB / 477.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.1364, allocations: 59.91 kB / 477.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1364, allocations: 0 / 477.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.85e-05/0.1365, allocations: 27.98 kB / 477.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.1368, allocations: 11.98 kB / 477.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.1372, allocations: 201.3 kB / 477.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1374, allocations: 0.6926 MB / 478.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.924e-05/0.1375, allocations: 7.984 kB / 478.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.1375, allocations: 15.42 kB / 478.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1375, allocations: 4 kB / 478.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of Templates: time 0.003238/0.1408, allocations: 1.015 MB / 479.1 MB, free: 5.945 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches