Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 106.2 kB / 17.63 MB, free: 5.344 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.001124/0.001124, allocations: 192 kB / 18.56 MB, free: 4.434 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.329/1.329, allocations: 222.9 MB / 242.3 MB, free: 15.14 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.1879/0.1879, allocations: 44.19 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.06 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1245, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.004214/0.1287, allocations: 1.557 MB / 470.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009479/0.1297, allocations: 415.2 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.806e-05/0.1298, allocations: 0 / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.1301, allocations: 27.84 kB / 471.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.1303, allocations: 47.77 kB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.1306, allocations: 83.78 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.1308, allocations: 71.75 kB / 471.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1309, allocations: 12.19 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.214e-05/0.131, allocations: 19.92 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.131, allocations: 31.78 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.1311, allocations: 4 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.1313, allocations: 47.98 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.742e-05/0.1313, allocations: 19.86 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/0.1314, allocations: 31.86 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.1316, allocations: 95.98 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1316, allocations: 0 / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1316, allocations: 0 / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.1317, allocations: 0 / 471.7 MB, free: 11.9 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005526/0.1322, allocations: 387.2 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.1323, allocations: 8.031 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.1323, allocations: 8.844 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1326, allocations: 186.5 kB / 472.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1326, allocations: 12.38 kB / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.1326, allocations: 4.312 kB / 472.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1328, allocations: 71.33 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1328, allocations: 0 / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1329, allocations: 0 / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1329, allocations: 0 / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.133, allocations: 23.98 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.1334, allocations: 304.7 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.1336, allocations: 54.55 kB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.1336, allocations: 28.97 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.1337, allocations: 4 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.455e-05/0.1338, allocations: 38.5 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1338, allocations: 0 / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006325/0.1344, allocations: 189.2 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.1345, allocations: 81.11 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1347, allocations: 142.1 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.1347, allocations: 25.7 kB / 473.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.1347, allocations: 96.14 kB / 473.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.1348, allocations: 23.64 kB / 473.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.1348, allocations: 21.72 kB / 473.4 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.135, allocations: 330.7 kB / 473.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-05/0.1351, allocations: 27.98 kB / 473.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.441e-05/0.1352, allocations: 45.69 kB / 473.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.1354, allocations: 80.97 kB / 473.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1354, allocations: 384 / 473.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002159/0.1356, allocations: 109.5 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1356, allocations: 4 kB / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1357, allocations: 0 / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1357, allocations: 8 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1358, allocations: 15.98 kB / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1358, allocations: 4 kB / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.163e-05/0.1358, allocations: 8 kB / 474 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.1359, allocations: 11.88 kB / 474 MB, free: 9.348 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 (9): * Single equations (assignments): 9 * 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.0001743/0.136, allocations: 117.8 kB / 474.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.1361, allocations: 7.906 kB / 474.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.1363, allocations: 114.3 kB / 474.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1363, allocations: 0 / 474.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1364, allocations: 0 / 474.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1364, allocations: 4 kB / 474.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004831/0.1369, allocations: 394.4 kB / 474.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1369, allocations: 0 / 474.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.347e-05/0.1369, allocations: 19.98 kB / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.137, allocations: 3.938 kB / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.137, allocations: 3.938 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.137, allocations: 4 kB / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.137, allocations: 4 kB / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.1372, allocations: 195.3 kB / 474.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.1373, allocations: 85.02 kB / 474.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.1373, allocations: 7.938 kB / 474.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.82e-05/0.1374, allocations: 7.984 kB / 474.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.1374, allocations: 8 kB / 475 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1375, allocations: 96 / 475 MB, free: 8.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.154e-05/0.1376, allocations: 124 kB / 475.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1376, allocations: 0 / 475.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1378, allocations: 24 kB / 475.1 MB, free: 8.141 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.001104/0.1389, allocations: 456.7 kB / 475.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002713/0.1392, allocations: 83.92 kB / 475.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1392, allocations: 0 / 475.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.603e-05/0.1393, allocations: 35.86 kB / 475.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1397, allocations: 19.98 kB / 475.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.1402, allocations: 189.9 kB / 475.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.1405, allocations: 0.6924 MB / 476.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.801e-05/0.1406, allocations: 20.8 kB / 476.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.1407, allocations: 19.42 kB / 476.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1407, allocations: 0 / 476.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of Templates: time 0.00461/0.1453, allocations: 1.566 MB / 478.2 MB, free: 5.195 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches