Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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 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.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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001848/0.001848, allocations: 188 kB / 19.34 MB, free: 3.641 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.445/1.445, allocations: 222.9 MB / 243 MB, free: 15.15 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.1938/0.1938, allocations: 44.19 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 66.12 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.133, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003057/0.1361, allocations: 1.609 MB / 472.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007633/0.1369, allocations: 423.1 kB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.137, allocations: 4 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.1373, allocations: 91.73 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.1375, allocations: 67.72 kB / 472.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.1378, allocations: 99.06 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.138, allocations: 95.8 kB / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1381, allocations: 20 kB / 473.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.17e-05/0.1382, allocations: 31.91 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1383, allocations: 63.75 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1383, allocations: 4 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.421e-05/0.1384, allocations: 59.91 kB / 473.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.1385, allocations: 19.92 kB / 473.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.1386, allocations: 43.67 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.1388, allocations: 119.6 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1388, allocations: 4 kB / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1388, allocations: 0 / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1388, allocations: 0 / 473.4 MB, free: 10.92 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005482/0.1393, allocations: 418.9 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1394, allocations: 8.031 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.1394, allocations: 16.75 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.1397, allocations: 220 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1397, allocations: 4.375 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.1397, allocations: 4.375 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.1399, allocations: 69.8 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1399, allocations: 3.938 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1399, allocations: 0 / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.14, allocations: 4 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1401, allocations: 39.91 kB / 474.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.1405, allocations: 328.7 kB / 474.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.1407, allocations: 62.55 kB / 474.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.949e-05/0.1408, allocations: 28.78 kB / 474.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.1408, allocations: 4.141 kB / 474.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1408, allocations: 34.55 kB / 474.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.1408, allocations: 4 kB / 474.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001003/0.1419, allocations: 297.3 kB / 475 MB, free: 9.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.1419, allocations: 55.41 kB / 475 MB, free: 9.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.1421, allocations: 231.5 kB / 475.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1422, allocations: 25.7 kB / 475.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.1422, allocations: 116 kB / 475.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.1423, allocations: 47.34 kB / 475.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.1423, allocations: 33.64 kB / 475.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1425, allocations: 326.8 kB / 475.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.1426, allocations: 31.98 kB / 475.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-05/0.1427, allocations: 43.91 kB / 475.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.1428, allocations: 88.94 kB / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1428, allocations: 3.938 kB / 475.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002455/0.1431, allocations: 136.2 kB / 476.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1431, allocations: 8 kB / 476.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1431, allocations: 0 / 476.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-05/0.1432, allocations: 3.938 kB / 476.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1433, allocations: 31.92 kB / 476.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1433, allocations: 0 / 476.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.1434, allocations: 11.98 kB / 476.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1434, allocations: 4 kB / 476.1 MB, free: 8.008 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 (13): * Single equations (assignments): 13 * 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.0001087/0.1435, allocations: 125.8 kB / 476.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.1435, allocations: 15.89 kB / 476.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.1439, allocations: 171.1 kB / 476.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1439, allocations: 7.938 kB / 476.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1439, allocations: 0 / 476.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1439, allocations: 0 / 476.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.1445, allocations: 471.2 kB / 476.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1445, allocations: 0 / 476.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.754e-05/0.1446, allocations: 23.98 kB / 476.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1446, allocations: 3.938 kB / 476.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1446, allocations: 8.031 kB / 476.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1446, allocations: 0 / 476.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1446, allocations: 0 / 476.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.1449, allocations: 248 kB / 477.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.145, allocations: 88.92 kB / 477.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.145, allocations: 4 kB / 477.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.1451, allocations: 8 kB / 477.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.1452, allocations: 11.98 kB / 477.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1452, allocations: 4 kB / 477.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.1453, allocations: 180.2 kB / 477.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1453, allocations: 0 / 477.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.1456, allocations: 20 kB / 477.5 MB, free: 6.539 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 (13): * Single equations (assignments): 13 * 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.001059/0.1467, allocations: 471.9 kB / 477.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.147, allocations: 91.95 kB / 478 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.147, allocations: 0 / 478 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.1471, allocations: 59.91 kB / 478.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.1475, allocations: 23.8 kB / 478.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/0.1481, allocations: 300 kB / 478.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1483, allocations: 0.7119 MB / 479.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.109e-05/0.1484, allocations: 28.59 kB / 479.2 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.1485, allocations: 15.44 kB / 479.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1485, allocations: 0 / 479.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of Templates: time 0.004303/0.1528, allocations: 1.507 MB / 480.7 MB, free: 3.484 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches