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.001089/0.001089, allocations: 107 kB / 17.33 MB, free: 6.023 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.001001/0.001001, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.373/1.373, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2135/0.2135, allocations: 44.19 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 69.23 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1175, allocations: 60.82 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.004158/0.1218, allocations: 1.668 MB / 470.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000842/0.1226, allocations: 419.2 kB / 470.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.079e-05/0.1227, allocations: 0 / 470.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.1231, allocations: 91.81 kB / 470.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.1233, allocations: 63.84 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1236, allocations: 83.78 kB / 471 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1238, allocations: 91.8 kB / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.1239, allocations: 27.94 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.774e-05/0.124, allocations: 31.91 kB / 471.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1241, allocations: 63.81 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.1241, allocations: 4 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1243, allocations: 47.97 kB / 471.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.478e-05/0.1243, allocations: 27.84 kB / 471.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/0.1244, allocations: 39.69 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.1246, allocations: 123.8 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1246, allocations: 0 / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1246, allocations: 0 / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1246, allocations: 4 kB / 471.5 MB, free: 11.97 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.0005592/0.1252, allocations: 418.9 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1253, allocations: 12.02 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.1253, allocations: 12.75 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1256, allocations: 212.5 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1256, allocations: 4.375 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.1256, allocations: 8.312 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1258, allocations: 73.73 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1258, allocations: 4 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1259, allocations: 0 / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1259, allocations: 4 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.126, allocations: 35.97 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.1264, allocations: 328.6 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.1266, allocations: 66.55 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.1267, allocations: 24.84 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.1267, allocations: 0 / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1267, allocations: 30.56 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 7.42e-07/0.1267, allocations: 0 / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001008/0.1277, allocations: 320.9 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.1278, allocations: 55.41 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.128, allocations: 231.5 kB / 473.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.128, allocations: 25.7 kB / 473.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.1281, allocations: 116 kB / 473.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.1281, allocations: 47.34 kB / 473.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.1282, allocations: 33.7 kB / 473.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1283, allocations: 326.8 kB / 473.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.52e-05/0.1284, allocations: 31.98 kB / 473.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.598e-05/0.1285, allocations: 43.09 kB / 473.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.1287, allocations: 84.83 kB / 474 MB, free: 9.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1287, allocations: 0 / 474 MB, free: 9.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002371/0.1289, allocations: 141.4 kB / 474.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1289, allocations: 8 kB / 474.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.129, allocations: 0 / 474.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.129, allocations: 3.938 kB / 474.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1291, allocations: 23.98 kB / 474.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1291, allocations: 0 / 474.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.1292, allocations: 11.98 kB / 474.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1292, allocations: 4 kB / 474.2 MB, free: 9.059 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 9.894e-05/0.1293, allocations: 137.8 kB / 474.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.1293, allocations: 11.91 kB / 474.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/0.1296, allocations: 159.8 kB / 474.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1297, allocations: 3.938 kB / 474.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1297, allocations: 0 / 474.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1297, allocations: 3.984 kB / 474.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/0.1302, allocations: 483 kB / 474.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1302, allocations: 0 / 474.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-05/0.1303, allocations: 23.98 kB / 475 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1303, allocations: 4 kB / 475 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.1304, allocations: 8 kB / 475 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1304, allocations: 11.95 kB / 475 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1304, allocations: 4 kB / 475 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.1307, allocations: 243.4 kB / 475.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.1307, allocations: 92.92 kB / 475.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.1308, allocations: 0 / 475.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.1308, allocations: 11.98 kB / 475.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.1309, allocations: 12 kB / 475.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.1309, allocations: 3.984 kB / 475.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.131, allocations: 171.2 kB / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.131, allocations: 0 / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1313, allocations: 24 kB / 475.5 MB, free: 7.574 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.001013/0.1323, allocations: 450.3 kB / 476 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.1326, allocations: 107.4 kB / 476.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1326, allocations: 0 / 476.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1327, allocations: 51.92 kB / 476.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.1331, allocations: 27.98 kB / 476.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.1336, allocations: 343.7 kB / 476.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.1339, allocations: 0.7158 MB / 477.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.539e-05/0.134, allocations: 20.53 kB / 477.2 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.134, allocations: 15.44 kB / 477.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.134, allocations: 0 / 477.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of Templates: time 0.00394/0.138, allocations: 1.492 MB / 478.7 MB, free: 4.504 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