Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 109.6 kB / 17.32 MB, free: 6.031 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.001845/0.001846, allocations: 193.3 kB / 18.25 MB, free: 5.113 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.415/1.415, allocations: 222.9 MB / 241.9 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.2492/0.2492, allocations: 44.19 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 68.14 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1297, allocations: 60.81 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003431/0.1332, allocations: 1.723 MB / 470.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008592/0.1341, allocations: 471.1 kB / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.1342, allocations: 0 / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.1344, allocations: 23.91 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.1346, allocations: 31.86 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.135, allocations: 173.8 kB / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1352, allocations: 83.77 kB / 471.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1353, allocations: 20.22 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.284e-05/0.1354, allocations: 43.78 kB / 471.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.1354, allocations: 31.84 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.1355, allocations: 8 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1356, allocations: 55.97 kB / 471.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.851e-05/0.1357, allocations: 23.92 kB / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.1357, allocations: 27.8 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1359, allocations: 123.9 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.136, allocations: 4 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.136, allocations: 0 / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.136, allocations: 0 / 471.5 MB, free: 11.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006244/0.1366, allocations: 415.1 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1366, allocations: 19.95 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.1367, allocations: 8.844 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1369, allocations: 199 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1369, allocations: 384 / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.137, allocations: 8.375 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.1373, allocations: 95.48 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1373, allocations: 0 / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1373, allocations: 0 / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1373, allocations: 4 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.1376, allocations: 79.86 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.1382, allocations: 332.8 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.1385, allocations: 78.47 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.1386, allocations: 52.88 kB / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.1387, allocations: 4 kB / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.1387, allocations: 30.56 kB / 472.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.926e-06/0.1387, allocations: 4 kB / 472.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001625/0.1403, allocations: 408.8 kB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.1404, allocations: 77.11 kB / 473.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1406, allocations: 145.8 kB / 473.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1406, allocations: 25.7 kB / 473.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.1407, allocations: 108.1 kB / 473.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.1407, allocations: 27.56 kB / 473.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.1408, allocations: 29.7 kB / 473.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1409, allocations: 318.8 kB / 473.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.1412, allocations: 83.84 kB / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.1414, allocations: 93.62 kB / 474.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/0.142, allocations: 176.9 kB / 474.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.142, allocations: 0 / 474.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000593/0.1426, allocations: 205.4 kB / 474.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1426, allocations: 8 kB / 474.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1426, allocations: 0 / 474.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1426, allocations: 0 / 474.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.1429, allocations: 39.95 kB / 474.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1429, allocations: 3.938 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.143, allocations: 31.89 kB / 474.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.143, allocations: 4 kB / 474.6 MB, free: 8.613 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 (10): * Single equations (assignments): 10 * 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.000106/0.1432, allocations: 126.4 kB / 474.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.1432, allocations: 7.906 kB / 474.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007102/0.1439, allocations: 226.1 kB / 474.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1439, allocations: 0 / 474.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1439, allocations: 0 / 474.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.144, allocations: 7.938 kB / 474.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009775/0.1449, allocations: 0.5022 MB / 475.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1449, allocations: 0 / 475.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.1451, allocations: 31.97 kB / 475.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1452, allocations: 11.81 kB / 475.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.1452, allocations: 11.98 kB / 475.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1452, allocations: 0 / 475.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1452, allocations: 4 kB / 475.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006525/0.1458, allocations: 299.5 kB / 475.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.1459, allocations: 88.95 kB / 475.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1459, allocations: 0 / 475.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.1461, allocations: 27.95 kB / 475.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.1462, allocations: 12 kB / 475.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1462, allocations: 4.359 kB / 475.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1463, allocations: 109.7 kB / 476 MB, free: 7.059 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1463, allocations: 0 / 476 MB, free: 7.059 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.1466, allocations: 39.98 kB / 476.1 MB, free: 7.02 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 (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 Backend phase and start with SimCode phase: time 0.001161/0.1478, allocations: 458.6 kB / 476.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006804/0.1485, allocations: 179.8 kB / 476.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1485, allocations: 0 / 476.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.1488, allocations: 95.84 kB / 476.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.1492, allocations: 19.98 kB / 476.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.1497, allocations: 266.2 kB / 477.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.15, allocations: 0.7002 MB / 477.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.1502, allocations: 32.39 kB / 477.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.1502, allocations: 19.44 kB / 477.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1502, allocations: 0 / 477.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of Templates: time 0.005131/0.1554, allocations: 2.042 MB / 479.9 MB, free: 3.363 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches