Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 108.8 kB / 17.33 MB, free: 6.02 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.001138/0.001138, allocations: 193.3 kB / 18.25 MB, free: 5.109 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.425/1.425, allocations: 222.9 MB / 241.9 MB, free: 15.34 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.2177/0.2177, allocations: 44.18 MB / 336.2 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 68.39 kB / 407.9 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.121, allocations: 60.83 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.004695/0.1258, allocations: 1.673 MB / 470.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.1278, allocations: 1.008 MB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.1279, allocations: 0 / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.1282, allocations: 27.91 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.1285, allocations: 35.91 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.1291, allocations: 122.9 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1292, allocations: 59.84 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1294, allocations: 20.16 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.1295, allocations: 19.92 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.1296, allocations: 39.78 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.1297, allocations: 4 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.1299, allocations: 51.97 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.13, allocations: 19.92 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/0.13, allocations: 19.88 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.1303, allocations: 95.75 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1303, allocations: 0 / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1303, allocations: 0 / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1303, allocations: 0 / 471.9 MB, free: 11.5 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.0005943/0.1309, allocations: 383.5 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.131, allocations: 8.031 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.131, allocations: 16.78 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.1313, allocations: 196.2 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1313, allocations: 8.359 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1313, allocations: 4.312 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.1315, allocations: 75.33 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1316, allocations: 0 / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1316, allocations: 0 / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1316, allocations: 0 / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.1318, allocations: 43.91 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.1322, allocations: 284.7 kB / 472.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.1324, allocations: 42.56 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.421e-05/0.1325, allocations: 24.94 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1325, allocations: 4 kB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1326, allocations: 38.48 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.1326, allocations: 0 / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009445/0.1335, allocations: 205.3 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.1336, allocations: 77.11 kB / 473.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.1338, allocations: 133.8 kB / 473.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1338, allocations: 29.7 kB / 473.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.1339, allocations: 96.03 kB / 473.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.1339, allocations: 23.66 kB / 473.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.134, allocations: 17.72 kB / 473.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1341, allocations: 326.8 kB / 473.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.1343, allocations: 27.97 kB / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.1344, allocations: 49.69 kB / 474 MB, free: 9.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.1347, allocations: 68.81 kB / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1347, allocations: 4.031 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000366/0.1351, allocations: 113.5 kB / 474.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.1352, allocations: 8 kB / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1352, allocations: 0 / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1352, allocations: 0 / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.1353, allocations: 23.97 kB / 474.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1354, allocations: 0 / 474.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.682e-05/0.1354, allocations: 11.94 kB / 474.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1355, allocations: 4 kB / 474.2 MB, free: 8.957 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 (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 0.0001058/0.1356, allocations: 122.4 kB / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.1356, allocations: 11.84 kB / 474.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.1361, allocations: 126.2 kB / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1361, allocations: 4 kB / 474.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1361, allocations: 0 / 474.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1361, allocations: 3.938 kB / 474.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000686/0.1368, allocations: 382.5 kB / 474.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1368, allocations: 0 / 474.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.1369, allocations: 23.92 kB / 474.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.137, allocations: 4 kB / 474.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.137, allocations: 7.875 kB / 474.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.137, allocations: 0 / 474.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.137, allocations: 8.281 kB / 474.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.1374, allocations: 207.4 kB / 475.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.1375, allocations: 85 kB / 475.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.1375, allocations: 11.94 kB / 475.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.1376, allocations: 7.984 kB / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.1377, allocations: 4 kB / 475.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1377, allocations: 4 kB / 475.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.1378, allocations: 107.2 kB / 475.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1378, allocations: 0 / 475.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003711/0.1382, allocations: 20 kB / 475.3 MB, free: 7.734 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 (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.00134/0.1396, allocations: 451.7 kB / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.14, allocations: 71.94 kB / 475.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.14, allocations: 8 kB / 475.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.1402, allocations: 43.91 kB / 475.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.1406, allocations: 15.98 kB / 475.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.1411, allocations: 206.4 kB / 476.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.1415, allocations: 0.6924 MB / 476.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.989e-05/0.1416, allocations: 15.94 kB / 476.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.1417, allocations: 19.42 kB / 476.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1417, allocations: 0 / 476.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of Templates: time 0.005258/0.1469, allocations: 1.469 MB / 478.3 MB, free: 4.883 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches