Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 108.3 kB / 18.41 MB, free: 4.695 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.00105/0.00105, allocations: 191 kB / 19.34 MB, free: 3.766 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.419/1.419, allocations: 222.9 MB / 243 MB, free: 15.09 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.2265/0.2265, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 68.98 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.123, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003185/0.1262, allocations: 1.583 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007433/0.127, allocations: 407.2 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.127, allocations: 0 / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.1273, allocations: 75.77 kB / 472.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.1275, allocations: 63.73 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1278, allocations: 83.78 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.128, allocations: 75.8 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1281, allocations: 16.19 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.1282, allocations: 39.83 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1283, allocations: 55.81 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1283, allocations: 4 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.86e-05/0.1284, allocations: 39.98 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.385e-05/0.1285, allocations: 15.94 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.747e-05/0.1285, allocations: 31.8 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.1287, allocations: 103.6 kB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1287, allocations: 8 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1287, allocations: 0 / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1287, allocations: 0 / 473.3 MB, free: 11.07 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.0004565/0.1292, allocations: 401.8 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1292, allocations: 12.03 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.1293, allocations: 8.844 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.1295, allocations: 200.1 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-06/0.1295, allocations: 384 / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.1295, allocations: 4.375 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.1296, allocations: 69.55 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1297, allocations: 3.906 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1297, allocations: 0 / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1297, allocations: 0 / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.1298, allocations: 27.97 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.1302, allocations: 284.8 kB / 474.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.1303, allocations: 50.5 kB / 474.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.676e-05/0.1304, allocations: 20.94 kB / 474.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.1304, allocations: 0 / 474.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.1304, allocations: 34.56 kB / 474.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1304, allocations: 0 / 474.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008478/0.1313, allocations: 225.1 kB / 474.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.1313, allocations: 55.41 kB / 474.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.1315, allocations: 210.1 kB / 474.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1316, allocations: 25.7 kB / 474.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.1316, allocations: 108 kB / 475 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.1317, allocations: 31.58 kB / 475 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.1317, allocations: 21.72 kB / 475 MB, free: 9.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1318, allocations: 322.8 kB / 475.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.181e-05/0.1319, allocations: 23.98 kB / 475.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-05/0.132, allocations: 27.92 kB / 475.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1321, allocations: 60.83 kB / 475.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1321, allocations: 0 / 475.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001911/0.1323, allocations: 105.5 kB / 475.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1324, allocations: 8 kB / 475.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1324, allocations: 0 / 475.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1324, allocations: 0 / 475.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.743e-05/0.1325, allocations: 19.98 kB / 475.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.1325, allocations: 11.88 kB / 475.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.1325, allocations: 0 / 475.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1326, allocations: 4.312 kB / 475.6 MB, free: 8.52 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 0.0001015/0.1327, allocations: 129.8 kB / 475.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.1327, allocations: 11.91 kB / 475.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.133, allocations: 114.3 kB / 475.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.133, allocations: 0 / 475.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.133, allocations: 3.938 kB / 475.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.133, allocations: 0 / 475.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.1334, allocations: 403.2 kB / 476.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1335, allocations: 3.984 kB / 476.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-05/0.1335, allocations: 19.88 kB / 476.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1335, allocations: 4 kB / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1335, allocations: 8 kB / 476.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1336, allocations: 3.984 kB / 476.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1336, allocations: 3.938 kB / 476.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.1338, allocations: 196.3 kB / 476.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.1339, allocations: 92.94 kB / 476.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.1339, allocations: 0 / 476.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.134, allocations: 7.938 kB / 476.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.134, allocations: 11.98 kB / 476.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.134, allocations: 4.422 kB / 476.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.1341, allocations: 159.2 kB / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1341, allocations: 0 / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.1344, allocations: 20 kB / 476.8 MB, free: 7.234 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.001002/0.1354, allocations: 467.3 kB / 477.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.1356, allocations: 63.89 kB / 477.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1356, allocations: 0 / 477.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.812e-05/0.1357, allocations: 35.98 kB / 477.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.136, allocations: 25.55 kB / 477.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.1365, allocations: 247.3 kB / 477.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.1368, allocations: 0.7041 MB / 478.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.682e-05/0.1368, allocations: 16.64 kB / 478.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.1369, allocations: 15.44 kB / 478.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1369, allocations: 4 kB / 478.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of Templates: time 0.2169/0.3538, allocations: 1.316 MB / 479.7 MB, free: 4.484 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches