Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 106.7 kB / 17.03 MB, free: 5.707 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.001136/0.001136, allocations: 194.9 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2296/0.2296, allocations: 43.53 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 65.73 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1233, allocations: 57.8 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002928/0.1263, allocations: 1.548 MB / 443.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005266/0.1268, allocations: 319.5 kB / 443.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.485e-05/0.1269, allocations: 0 / 443.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.1272, allocations: 75.78 kB / 443.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.1274, allocations: 63.73 kB / 444 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.1276, allocations: 67.78 kB / 444 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1277, allocations: 67.89 kB / 444.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1278, allocations: 19.91 kB / 444.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.1279, allocations: 27.92 kB / 444.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.117e-05/0.128, allocations: 55.81 kB / 444.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.128, allocations: 0 / 444.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.587e-05/0.1281, allocations: 31.98 kB / 444.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.1282, allocations: 19.88 kB / 444.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.1282, allocations: 35.73 kB / 444.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.1283, allocations: 79.78 kB / 444.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1284, allocations: 0 / 444.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1284, allocations: 3.938 kB / 444.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1284, allocations: 0 / 444.4 MB, free: 3.727 MB / 318.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.0004382/0.1288, allocations: 391 kB / 444.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1289, allocations: 15.89 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.1289, allocations: 12.83 kB / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.1291, allocations: 193 kB / 445 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1291, allocations: 12.31 kB / 445 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.1291, allocations: 4.375 kB / 445 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.1293, allocations: 53.8 kB / 445 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1293, allocations: 0 / 445 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1293, allocations: 0 / 445 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1293, allocations: 0 / 445 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.243e-05/0.1294, allocations: 19.98 kB / 445 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.1297, allocations: 280.9 kB / 445.3 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.1299, allocations: 46.5 kB / 445.4 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.1299, allocations: 12.94 kB / 445.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1299, allocations: 4 kB / 445.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.13, allocations: 38.55 kB / 445.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.13, allocations: 0 / 445.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005055/0.1305, allocations: 149.1 kB / 445.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.1305, allocations: 55.34 kB / 445.6 MB, free: 2.285 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.1307, allocations: 202.2 kB / 445.8 MB, free: 2.078 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.1307, allocations: 29.7 kB / 445.8 MB, free: 2.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.1307, allocations: 100.1 kB / 445.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.1308, allocations: 19.66 kB / 446 MB, free: 1.922 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.1308, allocations: 25.64 kB / 446 MB, free: 1.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.895e-05/0.1309, allocations: 326.8 kB / 446.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.503e-05/0.1309, allocations: 15.98 kB / 446.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.623e-05/0.131, allocations: 19.98 kB / 446.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.783e-05/0.1311, allocations: 48.95 kB / 446.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1311, allocations: 4 kB / 446.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001433/0.1312, allocations: 85.58 kB / 446.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1313, allocations: 5.25 kB / 446.5 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1313, allocations: 3.984 kB / 446.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1313, allocations: 0 / 446.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.1314, allocations: 12 kB / 446.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1314, allocations: 0 / 446.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.606e-05/0.1314, allocations: 7.984 kB / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1314, allocations: 0 / 446.5 MB, free: 1.355 MB / 318.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 6.965e-05/0.1315, allocations: 137.7 kB / 446.6 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.1315, allocations: 11.89 kB / 446.7 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.1317, allocations: 89.97 kB / 446.7 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1317, allocations: 0 / 446.7 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1317, allocations: 0 / 446.7 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1318, allocations: 0 / 446.7 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.1321, allocations: 350.5 kB / 447.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1321, allocations: 4 kB / 447.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.1321, allocations: 15.98 kB / 447.1 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1321, allocations: 0 / 447.1 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.1321, allocations: 0 / 447.1 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1321, allocations: 3.938 kB / 447.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1322, allocations: 0 / 447.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.1323, allocations: 187.5 kB / 447.3 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.1323, allocations: 89.02 kB / 447.4 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1324, allocations: 3.938 kB / 447.4 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.3e-05/0.1324, allocations: 11.92 kB / 447.4 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.1325, allocations: 8 kB / 447.4 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1325, allocations: 0 / 447.4 MB, free: 368 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.659e-05/0.1326, allocations: 155.2 kB / 447.6 MB, free: 212 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1326, allocations: 0 / 447.6 MB, free: 212 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.1328, allocations: 16 kB / 447.6 MB, free: 196 kB / 318.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.0009534/0.1338, allocations: 404.5 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.134, allocations: 47.97 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.134, allocations: 0 / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.635e-05/0.1341, allocations: 27.92 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.1345, allocations: 19.98 kB / 448.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.135, allocations: 206.1 kB / 448.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.1354, allocations: 0.7041 MB / 449 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.919e-05/0.1354, allocations: 11.97 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.1355, allocations: 11.44 kB / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1355, allocations: 0 / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of Templates: time 0.004323/0.1398, allocations: 1.122 MB / 450.1 MB, free: 13.69 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches