Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 97.2 kB / 18.01 MB, free: 5.602 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.001429/0.001429, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.367/1.367, allocations: 223.3 MB / 243 MB, free: 14.29 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.1877/0.1877, allocations: 44.24 MB / 338.3 MB, free: 2.395 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003165, allocations: 16 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1253, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002025/0.1274, allocations: 1.294 MB / 474.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007562/0.1282, allocations: 399.4 kB / 474.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.1282, allocations: 0 / 474.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.1285, allocations: 75.83 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.1287, allocations: 51.81 kB / 474.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.129, allocations: 82.22 kB / 474.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.1291, allocations: 67.83 kB / 474.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1292, allocations: 24.16 kB / 474.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.953e-05/0.1293, allocations: 27.8 kB / 474.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1294, allocations: 51.88 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1294, allocations: 0 / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-05/0.1295, allocations: 39.98 kB / 475 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.145e-05/0.1296, allocations: 15.92 kB / 475 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.1297, allocations: 57.44 kB / 475.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.1298, allocations: 72.19 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1298, allocations: 0 / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1298, allocations: 0 / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1298, allocations: 0 / 475.2 MB, free: 11.04 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.0004854/0.1303, allocations: 399.1 kB / 475.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1304, allocations: 8.031 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.1304, allocations: 16.78 kB / 475.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1306, allocations: 192.1 kB / 475.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1307, allocations: 8.375 kB / 475.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.1307, allocations: 4.375 kB / 475.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1308, allocations: 57.62 kB / 475.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1309, allocations: 7.844 kB / 475.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.1309, allocations: 0 / 475.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1309, allocations: 0 / 475.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.131, allocations: 31.97 kB / 475.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.1314, allocations: 292.8 kB / 476.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.1315, allocations: 46.56 kB / 476.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.1316, allocations: 12.86 kB / 476.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.1316, allocations: 0 / 476.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1316, allocations: 46.64 kB / 476.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1316, allocations: 3.938 kB / 476.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009122/0.1326, allocations: 241.1 kB / 476.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.1326, allocations: 51.41 kB / 476.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.1328, allocations: 222.1 kB / 476.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1328, allocations: 25.7 kB / 476.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.1329, allocations: 108 kB / 476.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.1329, allocations: 23.64 kB / 476.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.133, allocations: 13.72 kB / 476.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1331, allocations: 326.8 kB / 477.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-05/0.1332, allocations: 27.98 kB / 477.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.16e-05/0.1333, allocations: 31.98 kB / 477.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.1334, allocations: 64.83 kB / 477.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1335, allocations: 4 kB / 477.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002232/0.1337, allocations: 121.4 kB / 477.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1337, allocations: 4 kB / 477.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1337, allocations: 0 / 477.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.1337, allocations: 0 / 477.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.729e-05/0.1338, allocations: 19.98 kB / 477.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.1339, allocations: 3.938 kB / 477.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.1339, allocations: 12 kB / 477.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.1339, allocations: 0 / 477.5 MB, free: 8.438 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 0.0001021/0.134, allocations: 130.4 kB / 477.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.1341, allocations: 8.328 kB / 477.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.1343, allocations: 130.6 kB / 477.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1344, allocations: 0 / 477.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1344, allocations: 7.938 kB / 477.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1344, allocations: 3.984 kB / 477.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005316/0.1349, allocations: 415.2 kB / 478.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1349, allocations: 0 / 478.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.255e-05/0.135, allocations: 27.92 kB / 478.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.135, allocations: 0 / 478.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.135, allocations: 4 kB / 478.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1351, allocations: 0 / 478.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1351, allocations: 3.938 kB / 478.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.1353, allocations: 212.2 kB / 478.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.1354, allocations: 88.95 kB / 478.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1354, allocations: 4 kB / 478.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.1355, allocations: 7.984 kB / 478.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.1355, allocations: 8 kB / 478.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.1355, allocations: 4 kB / 478.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.1357, allocations: 155.2 kB / 478.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1357, allocations: 0 / 478.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.136, allocations: 19.98 kB / 478.7 MB, free: 7.121 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 (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.0009867/0.137, allocations: 457.9 kB / 479.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.1372, allocations: 67.95 kB / 479.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1372, allocations: 0 / 479.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.305e-05/0.1373, allocations: 47.92 kB / 479.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.1376, allocations: 23.92 kB / 479.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.138, allocations: 308 kB / 479.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.1383, allocations: 0.7004 MB / 480.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.1383, allocations: 15.44 kB / 480.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1383, allocations: 0 / 480.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of Templates: time 0.003081/0.1414, allocations: 1.684 MB / 482 MB, free: 3.945 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches