Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 104.2 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.001815/0.001815, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.357/1.357, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2037/0.2037, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 68.06 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1231, allocations: 60.82 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003246/0.1264, allocations: 1.615 MB / 470.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008879/0.1273, allocations: 427.1 kB / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.606e-05/0.1274, allocations: 4 kB / 471.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.1277, allocations: 95.69 kB / 471.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.1279, allocations: 67.78 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.1283, allocations: 115.1 kB / 471.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.1285, allocations: 95.8 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1286, allocations: 28.27 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.613e-05/0.1287, allocations: 43.89 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.1288, allocations: 59.75 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.1288, allocations: 4 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1289, allocations: 43.98 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.65e-05/0.129, allocations: 31.86 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.1291, allocations: 43.72 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1293, allocations: 123.6 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1293, allocations: 0 / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1293, allocations: 0 / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1293, allocations: 0 / 472 MB, free: 11.6 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004696/0.1298, allocations: 426.9 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1298, allocations: 12.02 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.1299, allocations: 16.75 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.1301, allocations: 204 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1301, allocations: 8.375 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.1301, allocations: 8.375 kB / 472.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1303, allocations: 73.8 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1303, allocations: 0 / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1303, allocations: 8 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1303, allocations: 0 / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.1304, allocations: 47.89 kB / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.1309, allocations: 352.6 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.131, allocations: 70.47 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.498e-05/0.1311, allocations: 24.84 kB / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.1311, allocations: 0 / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.1312, allocations: 38.56 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.1312, allocations: 4 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001026/0.1322, allocations: 320.9 kB / 473.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.1323, allocations: 55.41 kB / 473.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.1325, allocations: 231.4 kB / 473.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1325, allocations: 29.7 kB / 473.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.1326, allocations: 120 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.1326, allocations: 35.47 kB / 474.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.1327, allocations: 29.7 kB / 474.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1328, allocations: 326.8 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1329, allocations: 47.91 kB / 474.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.133, allocations: 48.09 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.1332, allocations: 111.3 kB / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1333, allocations: 0 / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002691/0.1335, allocations: 149.5 kB / 474.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1336, allocations: 7.984 kB / 474.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1336, allocations: 0 / 474.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1336, allocations: 3.938 kB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1337, allocations: 31.92 kB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1337, allocations: 4 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.1338, allocations: 8 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.1338, allocations: 4 kB / 474.8 MB, free: 8.574 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.0001056/0.1339, allocations: 133.8 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.134, allocations: 15.81 kB / 475 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.1343, allocations: 195.7 kB / 475.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1344, allocations: 8 kB / 475.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1344, allocations: 0 / 475.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1344, allocations: 4 kB / 475.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006274/0.135, allocations: 0.4912 MB / 475.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.135, allocations: 0 / 475.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.633e-05/0.1351, allocations: 28.02 kB / 475.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1351, allocations: 4 kB / 475.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1351, allocations: 4 kB / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1351, allocations: 3.938 kB / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1352, allocations: 0 / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.1355, allocations: 262.7 kB / 476 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.1355, allocations: 85.02 kB / 476 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1355, allocations: 3.984 kB / 476 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.209e-05/0.1356, allocations: 8 kB / 476 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.1357, allocations: 7.984 kB / 476.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1357, allocations: 4 kB / 476.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1358, allocations: 176.2 kB / 476.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1358, allocations: 0 / 476.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.1361, allocations: 27.98 kB / 476.3 MB, free: 7.027 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.001004/0.1371, allocations: 463 kB / 476.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002946/0.1374, allocations: 127.8 kB / 476.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1374, allocations: 0 / 476.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.1375, allocations: 59.91 kB / 476.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1379, allocations: 19.98 kB / 476.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.1384, allocations: 315.8 kB / 477.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.1387, allocations: 0.7197 MB / 477.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.881e-05/0.1388, allocations: 28.53 kB / 478 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.1389, allocations: 15.44 kB / 478 MB, free: 5.422 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1389, allocations: 3.938 kB / 478 MB, free: 5.418 MB / 350.1 MB Notification: Performance of Templates: time 0.004202/0.1431, allocations: 1.587 MB / 479.6 MB, free: 3.844 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches