Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.00117/0.00117, allocations: 192 kB / 18.56 MB, free: 4.434 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.289/1.289, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.1927/0.1927, allocations: 44.19 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001362, allocations: 57.44 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1347, allocations: 60.83 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003866/0.1386, allocations: 1.584 MB / 470.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000898/0.1395, allocations: 415.2 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.164e-05/0.1396, allocations: 0 / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.1399, allocations: 67.8 kB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.1402, allocations: 63.8 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.1406, allocations: 111.5 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1408, allocations: 71.88 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.141, allocations: 24.17 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.606e-05/0.141, allocations: 35.78 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1412, allocations: 39.91 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.1412, allocations: 4 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.917e-05/0.1413, allocations: 47.97 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.1413, allocations: 15.92 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.1414, allocations: 31.75 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.1416, allocations: 91.98 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1416, allocations: 0 / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1416, allocations: 0 / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1416, allocations: 0 / 471.8 MB, free: 11.79 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.0005401/0.1422, allocations: 415 kB / 472.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1422, allocations: 8.031 kB / 472.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.1423, allocations: 8.844 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.1425, allocations: 192.1 kB / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.1425, allocations: 4.359 kB / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.1425, allocations: 4.375 kB / 472.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1427, allocations: 57.61 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1427, allocations: 0 / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1427, allocations: 4 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1427, allocations: 4 kB / 472.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.144e-05/0.1428, allocations: 27.91 kB / 472.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.1433, allocations: 300.7 kB / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.762e-05/0.1434, allocations: 38.66 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.1435, allocations: 24.84 kB / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1435, allocations: 0 / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.1435, allocations: 38.5 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.1435, allocations: 3.938 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009075/0.1444, allocations: 233.5 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.1445, allocations: 51.41 kB / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.1447, allocations: 205.8 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1447, allocations: 25.7 kB / 473.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.1448, allocations: 100.2 kB / 473.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.1448, allocations: 27.64 kB / 473.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.1449, allocations: 21.7 kB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.145, allocations: 326.8 kB / 473.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.1451, allocations: 27.98 kB / 473.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.1452, allocations: 31.97 kB / 474 MB, free: 9.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1453, allocations: 72.83 kB / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1453, allocations: 0 / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002149/0.1455, allocations: 117.3 kB / 474.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1456, allocations: 8 kB / 474.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1456, allocations: 0 / 474.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1456, allocations: 0 / 474.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-05/0.1457, allocations: 15.98 kB / 474.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.1457, allocations: 4.25 kB / 474.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.1458, allocations: 7.984 kB / 474.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1458, allocations: 15.98 kB / 474.2 MB, free: 9.191 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 8.626e-05/0.1459, allocations: 117.8 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.1459, allocations: 15.89 kB / 474.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.1462, allocations: 138.3 kB / 474.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1462, allocations: 0 / 474.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1462, allocations: 3.938 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1462, allocations: 0 / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.1467, allocations: 423.2 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1468, allocations: 0 / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.471e-05/0.1468, allocations: 23.92 kB / 474.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1468, allocations: 0 / 474.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.1468, allocations: 3.938 kB / 474.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1469, allocations: 0 / 474.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.1469, allocations: 7.938 kB / 474.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1471, allocations: 204.3 kB / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.1472, allocations: 88.95 kB / 475.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1472, allocations: 4 kB / 475.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.1473, allocations: 3.984 kB / 475.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.1473, allocations: 11.98 kB / 475.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1474, allocations: 4 kB / 475.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.1475, allocations: 144.9 kB / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1475, allocations: 4 kB / 475.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1477, allocations: 19.98 kB / 475.4 MB, free: 7.887 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.001009/0.1487, allocations: 468.6 kB / 475.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.149, allocations: 75.95 kB / 475.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.149, allocations: 0 / 475.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.179e-05/0.1491, allocations: 43.86 kB / 476 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1495, allocations: 27.86 kB / 476 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.1499, allocations: 243.1 kB / 476.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.1502, allocations: 0.708 MB / 476.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.799e-05/0.1503, allocations: 24.64 kB / 477 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.1504, allocations: 15.44 kB / 477 MB, free: 6.418 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1504, allocations: 0 / 477 MB, free: 6.418 MB / 350.1 MB Notification: Performance of Templates: time 0.004008/0.1544, allocations: 1.35 MB / 478.3 MB, free: 5.078 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches