Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.00127/0.00127, allocations: 194 kB / 18.12 MB, free: 5.383 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.442/1.442, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.2222/0.2222, allocations: 44.18 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.81 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1267, allocations: 60.83 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003048/0.1298, allocations: 1.629 MB / 470.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008181/0.1307, allocations: 439.2 kB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.1307, allocations: 0 / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.131, allocations: 15.92 kB / 470.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.1311, allocations: 27.92 kB / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1314, allocations: 103.8 kB / 470.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.1315, allocations: 59.78 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/0.1317, allocations: 16.17 kB / 470.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.546e-05/0.1317, allocations: 11.94 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.847e-05/0.1318, allocations: 27.84 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1318, allocations: 4 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1319, allocations: 55.91 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.132, allocations: 7.938 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.132, allocations: 31.84 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.1322, allocations: 88.06 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1322, allocations: 0 / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1322, allocations: 0 / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1322, allocations: 0 / 471 MB, free: 12.34 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004526/0.1327, allocations: 379.3 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1327, allocations: 8.031 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.1328, allocations: 8.844 kB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.133, allocations: 195.1 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.133, allocations: 8.375 kB / 471.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.133, allocations: 8.312 kB / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1332, allocations: 59.34 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1332, allocations: 0 / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.1332, allocations: 4 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1332, allocations: 0 / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.491e-05/0.1333, allocations: 23.97 kB / 471.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.1337, allocations: 296.8 kB / 472 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.1339, allocations: 42.56 kB / 472 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.1339, allocations: 24.94 kB / 472 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.134, allocations: 0 / 472 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.134, allocations: 38.56 kB / 472.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.134, allocations: 0 / 472.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005855/0.1346, allocations: 181.2 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.1346, allocations: 81.11 kB / 472.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.1348, allocations: 136.6 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.1348, allocations: 29.7 kB / 472.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.1349, allocations: 100.1 kB / 472.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.1349, allocations: 23.66 kB / 472.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.1349, allocations: 21.72 kB / 472.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.135, allocations: 326.7 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.253e-05/0.1351, allocations: 27.97 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-05/0.1352, allocations: 41.7 kB / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.1354, allocations: 73.08 kB / 473.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1354, allocations: 0 / 473.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002076/0.1356, allocations: 109.5 kB / 473.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1356, allocations: 4 kB / 473.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1356, allocations: 3.938 kB / 473.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1357, allocations: 3.984 kB / 473.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1358, allocations: 23.94 kB / 473.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1358, allocations: 4 kB / 473.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.347e-05/0.1358, allocations: 7.984 kB / 473.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.1359, allocations: 3.938 kB / 473.3 MB, free: 9.848 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 8.609e-05/0.1359, allocations: 114.4 kB / 473.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.136, allocations: 7.906 kB / 473.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.1362, allocations: 117.9 kB / 473.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1362, allocations: 0 / 473.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1363, allocations: 4 kB / 473.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1363, allocations: 4.266 kB / 473.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.1368, allocations: 390.4 kB / 473.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1368, allocations: 0 / 473.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.1368, allocations: 19.92 kB / 473.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1369, allocations: 3.984 kB / 473.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1369, allocations: 11.94 kB / 473.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1369, allocations: 0 / 473.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1369, allocations: 0 / 473.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.1371, allocations: 195.4 kB / 474.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.1372, allocations: 81.02 kB / 474.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.1372, allocations: 7.938 kB / 474.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.1373, allocations: 4 kB / 474.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.1373, allocations: 7.984 kB / 474.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1373, allocations: 8 kB / 474.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.136e-05/0.1374, allocations: 99.27 kB / 474.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1374, allocations: 7.938 kB / 474.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.1377, allocations: 27.98 kB / 474.3 MB, free: 8.652 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 (7): * Single equations (assignments): 7 * 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.0009183/0.1386, allocations: 448.1 kB / 474.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.1388, allocations: 63.95 kB / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1388, allocations: 0 / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.399e-05/0.1389, allocations: 35.92 kB / 474.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.1392, allocations: 19.98 kB / 474.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.1396, allocations: 199.8 kB / 475.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.1398, allocations: 0.6926 MB / 475.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.906e-05/0.1399, allocations: 24.95 kB / 475.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.14, allocations: 11.44 kB / 475.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.14, allocations: 0 / 475.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of Templates: time 0.003834/0.1438, allocations: 1.517 MB / 477.3 MB, free: 5.773 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches