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.001021/0.001021, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.0009429/0.0009429, allocations: 192 kB / 18.55 MB, free: 4.566 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.324/1.324, allocations: 222.9 MB / 242.2 MB, free: 15.17 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.2025/0.2025, allocations: 44.19 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 65.83 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1177, allocations: 60.82 MB / 469.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003052/0.1208, allocations: 1.606 MB / 470.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007728/0.1216, allocations: 427.1 kB / 471.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.1216, allocations: 0 / 471.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.1219, allocations: 95.73 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.1222, allocations: 71.67 kB / 471.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.1225, allocations: 95.14 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.1226, allocations: 91.8 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1228, allocations: 23.94 kB / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.025e-05/0.1229, allocations: 35.89 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.123, allocations: 59.81 kB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.123, allocations: 4 kB / 471.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.1231, allocations: 51.98 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.799e-05/0.1232, allocations: 27.84 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.156e-05/0.1232, allocations: 39.69 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.1234, allocations: 119.8 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1235, allocations: 0 / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1235, allocations: 0 / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1235, allocations: 0 / 472 MB, free: 11.63 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.0004587/0.1239, allocations: 422.9 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.124, allocations: 12.03 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.124, allocations: 20.73 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.1242, allocations: 204 kB / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1242, allocations: 8.375 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.1243, allocations: 4.375 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.1244, allocations: 77.67 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1244, allocations: 0 / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1245, allocations: 0 / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1245, allocations: 0 / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.1246, allocations: 39.97 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.125, allocations: 340.6 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.1251, allocations: 62.53 kB / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.712e-05/0.1252, allocations: 24.84 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1252, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.1252, allocations: 38.56 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.1252, allocations: 0 / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001002/0.1262, allocations: 304.9 kB / 473.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.1263, allocations: 55.41 kB / 473.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.1265, allocations: 231.5 kB / 473.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1265, allocations: 25.7 kB / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.1266, allocations: 116 kB / 473.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.1267, allocations: 43.36 kB / 474 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.1267, allocations: 25.7 kB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1269, allocations: 326.8 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.063e-05/0.127, allocations: 31.98 kB / 474.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.199e-05/0.127, allocations: 43.97 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.1272, allocations: 95.7 kB / 474.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1272, allocations: 3.938 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002528/0.1275, allocations: 133.4 kB / 474.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1275, allocations: 4 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1275, allocations: 0 / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.1276, allocations: 11.94 kB / 474.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1277, allocations: 23.98 kB / 474.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1277, allocations: 0 / 474.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.1278, allocations: 11.98 kB / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1278, allocations: 8 kB / 474.7 MB, free: 8.711 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.0001107/0.1279, allocations: 133.8 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.1279, allocations: 11.91 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003288/0.1283, allocations: 167.8 kB / 475 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.912e-06/0.1283, allocations: 7.938 kB / 475 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1283, allocations: 0 / 475 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1283, allocations: 0 / 475 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005882/0.1289, allocations: 483.1 kB / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1289, allocations: 0 / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.403e-05/0.129, allocations: 27.92 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.129, allocations: 0 / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.129, allocations: 8 kB / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.129, allocations: 0 / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.129, allocations: 0 / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.1293, allocations: 244.1 kB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.1294, allocations: 92.92 kB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.1294, allocations: 0 / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.761e-05/0.1295, allocations: 7.984 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.1296, allocations: 8 kB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.1296, allocations: 7.984 kB / 475.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.1297, allocations: 176.2 kB / 476 MB, free: 7.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1297, allocations: 0 / 476 MB, free: 7.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.13, allocations: 28 kB / 476 MB, free: 7.23 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.0009939/0.131, allocations: 458.3 kB / 476.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.1313, allocations: 99.88 kB / 476.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1313, allocations: 0 / 476.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.1314, allocations: 51.92 kB / 476.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1318, allocations: 27.58 kB / 476.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.1323, allocations: 299.9 kB / 477 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.1326, allocations: 0.7158 MB / 477.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.339e-05/0.1326, allocations: 32.47 kB / 477.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.1327, allocations: 15.44 kB / 477.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1327, allocations: 0 / 477.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of Templates: time 0.004228/0.1369, allocations: 1.511 MB / 479.2 MB, free: 4.172 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/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