Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.001221, allocations: 108.3 kB / 18.4 MB, free: 4.719 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.001299/0.0013, allocations: 191 kB / 19.34 MB, free: 3.789 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.345/1.345, allocations: 222.9 MB / 243 MB, free: 15.16 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.2092/0.2092, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002103, allocations: 60.81 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1267, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003504/0.1302, allocations: 1.587 MB / 472.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1318, allocations: 1.035 MB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.1319, allocations: 0 / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.1322, allocations: 23.84 kB / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.1324, allocations: 39.8 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.1328, allocations: 111.7 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.133, allocations: 75.75 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1331, allocations: 16.19 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.809e-05/0.1332, allocations: 23.92 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.1334, allocations: 43.83 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1334, allocations: 7.938 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1335, allocations: 43.98 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.358e-05/0.1336, allocations: 19.91 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.1336, allocations: 23.88 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.1339, allocations: 107.6 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1339, allocations: 0 / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1339, allocations: 4 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.1339, allocations: 0 / 473.9 MB, free: 10.48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005281/0.1344, allocations: 387.2 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1345, allocations: 8.031 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.1345, allocations: 8.844 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1347, allocations: 192.2 kB / 474.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1347, allocations: 4.375 kB / 474.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.1348, allocations: 4.281 kB / 474.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.135, allocations: 87.25 kB / 474.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.135, allocations: 0 / 474.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.135, allocations: 8 kB / 474.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.135, allocations: 0 / 474.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.1351, allocations: 35.97 kB / 474.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.1356, allocations: 304.8 kB / 474.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1357, allocations: 50.56 kB / 474.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.1358, allocations: 28.97 kB / 474.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1358, allocations: 8.016 kB / 475 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1358, allocations: 34.56 kB / 475 MB, free: 9.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1358, allocations: 0 / 475 MB, free: 9.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006253/0.1365, allocations: 189.2 kB / 475.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.1365, allocations: 77.11 kB / 475.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1367, allocations: 149.8 kB / 475.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1367, allocations: 29.7 kB / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.1368, allocations: 95.98 kB / 475.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.1368, allocations: 23.7 kB / 475.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.1368, allocations: 17.72 kB / 475.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1369, allocations: 322.8 kB / 475.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.1371, allocations: 32.34 kB / 475.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.142e-05/0.1371, allocations: 45.7 kB / 476 MB, free: 8.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.1373, allocations: 76.73 kB / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1373, allocations: 4 kB / 476 MB, free: 8.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002168/0.1375, allocations: 113.5 kB / 476.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1376, allocations: 4 kB / 476.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1376, allocations: 4 kB / 476.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1376, allocations: 4.031 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.847e-05/0.1377, allocations: 15.98 kB / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1377, allocations: 3.938 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.14e-05/0.1378, allocations: 4 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.1378, allocations: 4.312 kB / 476.2 MB, free: 7.906 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.588e-05/0.1379, allocations: 117.8 kB / 476.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.1379, allocations: 11.84 kB / 476.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.1382, allocations: 133.9 kB / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1382, allocations: 4 kB / 476.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1382, allocations: 3.938 kB / 476.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1382, allocations: 3.984 kB / 476.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.1387, allocations: 398.4 kB / 476.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1387, allocations: 0 / 476.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.1388, allocations: 19.98 kB / 476.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1388, allocations: 7.938 kB / 476.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.1388, allocations: 4 kB / 476.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1388, allocations: 0 / 476.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1388, allocations: 0 / 476.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.1391, allocations: 203.4 kB / 477.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.1392, allocations: 85.03 kB / 477.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1392, allocations: 7.938 kB / 477.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.1392, allocations: 4 kB / 477.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.1393, allocations: 11.98 kB / 477.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1393, allocations: 4 kB / 477.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.348e-05/0.1394, allocations: 105.8 kB / 477.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1394, allocations: 0 / 477.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1397, allocations: 35.89 kB / 477.3 MB, free: 6.664 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.0009286/0.1406, allocations: 445.1 kB / 477.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.1408, allocations: 75.94 kB / 477.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1409, allocations: 0 / 477.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-05/0.141, allocations: 39.92 kB / 477.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.1413, allocations: 19.98 kB / 477.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.1417, allocations: 197.8 kB / 478.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.142, allocations: 0.6963 MB / 478.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.504e-05/0.1421, allocations: 20.95 kB / 478.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.1421, allocations: 11.44 kB / 478.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1421, allocations: 4 kB / 478.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of Templates: time 0.004213/0.1463, allocations: 1.474 MB / 480.3 MB, free: 3.824 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches