Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001049/0.00105, allocations: 182.9 kB / 19.33 MB, free: 3.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.395/1.395, allocations: 222.9 MB / 243 MB, free: 15.1 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.2199/0.2199, allocations: 44.17 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001212, allocations: 63.66 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1216, allocations: 60.82 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003058/0.1247, allocations: 1.567 MB / 472.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007498/0.1255, allocations: 391.3 kB / 472.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.1256, allocations: 0 / 472.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.1258, allocations: 27.78 kB / 472.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.126, allocations: 43.78 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.1262, allocations: 91.52 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.1263, allocations: 55.78 kB / 472.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.515e-05/0.1264, allocations: 15.98 kB / 472.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.316e-05/0.1265, allocations: 23.91 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.1265, allocations: 15.88 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1266, allocations: 0 / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.463e-05/0.1266, allocations: 27.98 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.1267, allocations: 19.92 kB / 473 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.1267, allocations: 19.86 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.1269, allocations: 83.67 kB / 473.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1269, allocations: 0 / 473.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1269, allocations: 0 / 473.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.1269, allocations: 0 / 473.1 MB, free: 11.3 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.0004826/0.1274, allocations: 379.1 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1275, allocations: 12.03 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.1275, allocations: 4.844 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.1277, allocations: 184.3 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.1277, allocations: 8.375 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1277, allocations: 384 / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.1278, allocations: 57.8 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1279, allocations: 0 / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.1279, allocations: 3.938 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-06/0.1279, allocations: 0 / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.732e-05/0.128, allocations: 19.98 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.1282, allocations: 288.8 kB / 474 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.1284, allocations: 38.56 kB / 474 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.1285, allocations: 24.88 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.1285, allocations: 0 / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.1285, allocations: 30.56 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.504e-06/0.1285, allocations: 4 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004502/0.129, allocations: 137.3 kB / 474.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.129, allocations: 51.41 kB / 474.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1292, allocations: 157.7 kB / 474.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1292, allocations: 25.7 kB / 474.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.1293, allocations: 96.08 kB / 474.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.1293, allocations: 15.81 kB / 474.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.1293, allocations: 21.7 kB / 474.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1294, allocations: 318.8 kB / 474.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.345e-05/0.1295, allocations: 19.98 kB / 474.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.313e-05/0.1296, allocations: 19.98 kB / 474.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1297, allocations: 44.77 kB / 475 MB, free: 9.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1297, allocations: 0 / 475 MB, free: 9.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001639/0.1299, allocations: 89.52 kB / 475.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.1299, allocations: 4 kB / 475.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.1299, allocations: 0 / 475.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1299, allocations: 7.984 kB / 475.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.335e-05/0.13, allocations: 8 kB / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.13, allocations: 0 / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.624e-05/0.13, allocations: 8.234 kB / 475.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.13, allocations: 3.938 kB / 475.1 MB, free: 9.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 (5): * Single equations (assignments): 5 * 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 8.21e-05/0.1301, allocations: 125.8 kB / 475.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.1302, allocations: 12.19 kB / 475.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.1304, allocations: 89.91 kB / 475.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.1304, allocations: 7.984 kB / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1304, allocations: 0 / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1304, allocations: 0 / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.1308, allocations: 346.5 kB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1308, allocations: 0 / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.1309, allocations: 11.94 kB / 475.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1309, allocations: 0 / 475.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.1309, allocations: 0 / 475.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.1309, allocations: 11.92 kB / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1309, allocations: 0 / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.1311, allocations: 175.4 kB / 475.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.1311, allocations: 81.02 kB / 475.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.1312, allocations: 4 kB / 475.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.1312, allocations: 11.92 kB / 476 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.1313, allocations: 4 kB / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.1313, allocations: 0 / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.47e-05/0.1314, allocations: 121.6 kB / 476.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1314, allocations: 7.938 kB / 476.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.1316, allocations: 12 kB / 476.1 MB, free: 7.93 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 (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.0008714/0.1325, allocations: 409.9 kB / 476.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.1327, allocations: 43.97 kB / 476.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1327, allocations: 0 / 476.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.836e-05/0.1328, allocations: 23.98 kB / 476.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.1331, allocations: 11.98 kB / 476.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/0.1334, allocations: 189.3 kB / 476.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.1337, allocations: 0.6962 MB / 477.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.698e-05/0.1337, allocations: 7.984 kB / 477.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.1338, allocations: 11.44 kB / 477.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1338, allocations: 0 / 477.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of Templates: time 0.003241/0.137, allocations: 1.094 MB / 478.6 MB, free: 5.559 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches