Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 100 kB / 17.63 MB, free: 5.523 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.001271/0.001271, allocations: 192.1 kB / 18.56 MB, free: 4.602 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.299/1.299, allocations: 222.9 MB / 242.3 MB, free: 15.28 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.1908/0.1908, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.14 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1233, allocations: 60.82 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003715/0.1271, allocations: 1.568 MB / 470.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.1281, allocations: 423.2 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.109e-05/0.1282, allocations: 0 / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.1285, allocations: 79.77 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.1288, allocations: 59.75 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.1292, allocations: 118.3 kB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.1294, allocations: 67.89 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1295, allocations: 16.17 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.136e-05/0.1296, allocations: 39.84 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1297, allocations: 55.81 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.1297, allocations: 4 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.1299, allocations: 43.98 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.1299, allocations: 19.92 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.13, allocations: 31.73 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.1302, allocations: 96 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1303, allocations: 3.938 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1303, allocations: 0 / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1303, allocations: 4 kB / 471.9 MB, free: 11.76 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.0004822/0.1308, allocations: 415 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1308, allocations: 8.031 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.1309, allocations: 8.844 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.1311, allocations: 196.1 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1311, allocations: 384 / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.1311, allocations: 8.359 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1313, allocations: 61.59 kB / 472.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1313, allocations: 4 kB / 472.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1313, allocations: 0 / 472.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1313, allocations: 4 kB / 472.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1315, allocations: 27.97 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.1319, allocations: 300.7 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.132, allocations: 46.66 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.1321, allocations: 20.84 kB / 472.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1321, allocations: 4 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.1322, allocations: 30.56 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1322, allocations: 0 / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009297/0.1331, allocations: 241 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1332, allocations: 51.41 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.1334, allocations: 210.1 kB / 473.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1334, allocations: 29.7 kB / 473.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.1335, allocations: 104 kB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.1335, allocations: 27.64 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.1335, allocations: 25.72 kB / 473.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1337, allocations: 322.8 kB / 474 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.49e-05/0.1338, allocations: 27.98 kB / 474 MB, free: 9.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-05/0.1338, allocations: 31.97 kB / 474 MB, free: 9.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.134, allocations: 76.88 kB / 474.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.134, allocations: 0 / 474.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002197/0.1342, allocations: 117.4 kB / 474.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.1343, allocations: 4 kB / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1343, allocations: 3.938 kB / 474.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1343, allocations: 0 / 474.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1344, allocations: 19.98 kB / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1344, allocations: 3.938 kB / 474.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.185e-05/0.1345, allocations: 8 kB / 474.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1345, allocations: 0 / 474.2 MB, free: 9.145 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 9.326e-05/0.1346, allocations: 129.8 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.1346, allocations: 7.906 kB / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.135, allocations: 146.5 kB / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.135, allocations: 0 / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.135, allocations: 3.938 kB / 474.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.135, allocations: 0 / 474.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005371/0.1355, allocations: 419.2 kB / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1355, allocations: 0 / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.263e-05/0.1356, allocations: 24.34 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1356, allocations: 0 / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1356, allocations: 0 / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.1357, allocations: 4 kB / 475 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1357, allocations: 0 / 475 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.1359, allocations: 220.2 kB / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.136, allocations: 88.94 kB / 475.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.136, allocations: 8 kB / 475.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.1361, allocations: 7.984 kB / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.1362, allocations: 4 kB / 475.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1362, allocations: 0 / 475.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1363, allocations: 159.2 kB / 475.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1363, allocations: 0 / 475.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.1366, allocations: 24 kB / 475.5 MB, free: 7.812 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.001106/0.1377, allocations: 455.6 kB / 475.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.138, allocations: 83.86 kB / 476 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.138, allocations: 0 / 476 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.759e-05/0.1381, allocations: 39.92 kB / 476 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.1385, allocations: 27.92 kB / 476.1 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005448/0.1391, allocations: 255.1 kB / 476.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1394, allocations: 0.7118 MB / 477 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.352e-05/0.1395, allocations: 24.95 kB / 477 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.1395, allocations: 11.44 kB / 477.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1395, allocations: 0 / 477.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of Templates: time 0.004296/0.1438, allocations: 1.359 MB / 478.4 MB, free: 4.992 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches