Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 102.1 kB / 15.98 MB, free: 5.91 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.001137/0.001137, allocations: 186.8 kB / 16.9 MB, free: 5.758 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.695/1.695, allocations: 205.1 MB / 222.8 MB, free: 12.43 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.235/0.235, allocations: 43.52 MB / 313.6 MB, free: 0.6953 MB / 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.001526/0.001526, allocations: 72.73 kB / 382.2 MB, free: 56.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1351, allocations: 57.78 MB / 440 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.003833/0.1391, allocations: 1.619 MB / 441.6 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007542/0.1399, allocations: 328 kB / 441.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.246e-05/0.14, allocations: 7.938 kB / 442 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.1404, allocations: 83.81 kB / 442 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.1406, allocations: 71.84 kB / 442.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.1409, allocations: 87.77 kB / 442.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1411, allocations: 75.89 kB / 442.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.1413, allocations: 24.09 kB / 442.3 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.483e-05/0.1413, allocations: 39.78 kB / 442.3 MB, free: 5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1414, allocations: 63.81 kB / 442.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1415, allocations: 4 kB / 442.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.116e-05/0.1415, allocations: 28 kB / 442.4 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.1416, allocations: 23.91 kB / 442.4 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.1417, allocations: 39.73 kB / 442.5 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.1418, allocations: 103.6 kB / 442.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1418, allocations: 0 / 442.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1419, allocations: 0 / 442.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.1419, allocations: 0 / 442.6 MB, free: 4.742 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005047/0.1424, allocations: 418.9 kB / 443 MB, free: 4.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1424, allocations: 11.89 kB / 443 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.1425, allocations: 16.75 kB / 443 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.1427, allocations: 201.4 kB / 443.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1427, allocations: 4.359 kB / 443.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.1427, allocations: 8.375 kB / 443.2 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.1429, allocations: 83.25 kB / 443.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.1429, allocations: 3.906 kB / 443.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.143, allocations: 0 / 443.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.143, allocations: 0 / 443.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.1431, allocations: 35.97 kB / 443.4 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.1436, allocations: 401 kB / 443.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.1439, allocations: 93.14 kB / 443.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.598e-05/0.144, allocations: 33.8 kB / 443.9 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.144, allocations: 3.984 kB / 443.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.144, allocations: 34.56 kB / 443.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.144, allocations: 0 / 443.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008527/0.1449, allocations: 244.6 kB / 444.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.145, allocations: 77.11 kB / 444.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.1452, allocations: 238.2 kB / 444.5 MB, free: 2.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1452, allocations: 33.64 kB / 444.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.1453, allocations: 104.1 kB / 444.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.1454, allocations: 27.56 kB / 444.6 MB, free: 2.484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.1454, allocations: 25.7 kB / 444.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.1455, allocations: 326.8 kB / 445 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.1456, allocations: 31.98 kB / 445 MB, free: 2.094 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.222e-05/0.1457, allocations: 49.62 kB / 445 MB, free: 2.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1458, allocations: 89.8 kB / 445.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1459, allocations: 0 / 445.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002017/0.1461, allocations: 133.4 kB / 445.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.1461, allocations: 4 kB / 445.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.1461, allocations: 0 / 445.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.1461, allocations: 0 / 445.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.107e-05/0.1462, allocations: 27.98 kB / 445.3 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.1462, allocations: 7.922 kB / 445.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.083e-05/0.1463, allocations: 4 kB / 445.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1463, allocations: 0 / 445.3 MB, free: 1.766 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001002/0.1464, allocations: 149.7 kB / 445.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.1465, allocations: 11.81 kB / 445.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.1468, allocations: 146.6 kB / 445.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.1468, allocations: 0 / 445.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1468, allocations: 15.86 kB / 445.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1468, allocations: 0.5625 kB / 445.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.1473, allocations: 0.4989 MB / 446.1 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1473, allocations: 3.984 kB / 446.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.537e-05/0.1474, allocations: 19.94 kB / 446.1 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.1474, allocations: 8.031 kB / 446.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1474, allocations: 3.984 kB / 446.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1474, allocations: 3.938 kB / 446.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1474, allocations: 4 kB / 446.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1477, allocations: 299.6 kB / 446.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.1477, allocations: 92.94 kB / 446.5 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.1477, allocations: 4.094 kB / 446.5 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.1478, allocations: 11.94 kB / 446.6 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.1479, allocations: 11.98 kB / 446.6 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.1479, allocations: 3.938 kB / 446.6 MB, free: 392 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.933e-05/0.148, allocations: 176.2 kB / 446.7 MB, free: 216 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.148, allocations: 0 / 446.7 MB, free: 216 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.1483, allocations: 24 kB / 446.8 MB, free: 192 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0009519/0.1492, allocations: 395.7 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.1495, allocations: 87.89 kB / 447.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1495, allocations: 0 / 447.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.1497, allocations: 47.91 kB / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.1502, allocations: 27.86 kB / 447.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006221/0.1508, allocations: 328.3 kB / 447.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.1512, allocations: 0.7119 MB / 448.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.214e-05/0.1513, allocations: 32.39 kB / 448.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.1513, allocations: 11.44 kB / 448.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1513, allocations: 0 / 448.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of Templates: time 0.004659/0.156, allocations: 1.272 MB / 449.7 MB, free: 13.32 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches