Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009858/0.0009857, allocations: 91.17 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 203.2 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.8 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2274/0.2274, allocations: 46.19 MB / 345.3 MB, free: 11.47 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.000346, allocations: 8 kB / 419.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1259, allocations: 63.57 MB / 483.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002054/0.128, allocations: 1.31 MB / 484.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009944/0.1291, allocations: 0.5224 MB / 485 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.1291, allocations: 0 / 485 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.1293, allocations: 27.91 kB / 485 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.1295, allocations: 59.77 kB / 485.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.1298, allocations: 102.6 kB / 485.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.1299, allocations: 63.83 kB / 485.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.13, allocations: 11.98 kB / 485.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.675e-05/0.1301, allocations: 23.86 kB / 485.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.483e-05/0.1302, allocations: 15.88 kB / 485.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.1302, allocations: 4 kB / 485.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.39e-05/0.1303, allocations: 31.98 kB / 485.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.1303, allocations: 11.97 kB / 485.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.1304, allocations: 49.45 kB / 485.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.1305, allocations: 79.78 kB / 485.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1305, allocations: 0 / 485.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1305, allocations: 0 / 485.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1306, allocations: 0 / 485.5 MB, free: 1.809 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.0004851/0.131, allocations: 375.5 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1311, allocations: 8.875 kB / 485.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.1311, allocations: 12.84 kB / 485.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1313, allocations: 192.1 kB / 486 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-06/0.1314, allocations: 4.375 kB / 486.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1314, allocations: 4.375 kB / 486.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1315, allocations: 57.73 kB / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1315, allocations: 0 / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1316, allocations: 0 / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1316, allocations: 4 kB / 486.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1317, allocations: 27.98 kB / 486.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.1321, allocations: 280.9 kB / 486.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1323, allocations: 50.5 kB / 486.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.1324, allocations: 24.94 kB / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1324, allocations: 3.984 kB / 486.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1325, allocations: 34.56 kB / 486.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1325, allocations: 0 / 486.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006115/0.1331, allocations: 177.2 kB / 486.7 MB, free: 420 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1331, allocations: 51.41 kB / 486.8 MB, free: 356 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1333, allocations: 152 kB / 486.9 MB, free: 192 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1333, allocations: 25.7 kB / 486.9 MB, free: 160 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.1334, allocations: 96.14 kB / 487 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.1334, allocations: 19.72 kB / 487 MB, free: 40 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.1335, allocations: 13.7 kB / 487.1 MB, free: 20 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1336, allocations: 322.8 kB / 487.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.1337, allocations: 27.92 kB / 487.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.239e-05/0.1338, allocations: 27.98 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.134, allocations: 56.83 kB / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.134, allocations: 0 / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002184/0.1342, allocations: 105.5 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1342, allocations: 4 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1343, allocations: 3.938 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1343, allocations: 0 / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/0.1343, allocations: 15.98 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.1344, allocations: 0 / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.1344, allocations: 4 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1344, allocations: 4 kB / 487.6 MB, free: 15.44 MB / 366.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 (5): * Single equations (assignments): 5 * 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.000103/0.1345, allocations: 121.8 kB / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.1346, allocations: 11.89 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.1348, allocations: 105.8 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1348, allocations: 4 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1349, allocations: 4 kB / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1349, allocations: 0 / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/0.1354, allocations: 362.5 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1354, allocations: 0 / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.458e-05/0.1354, allocations: 23.86 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1355, allocations: 4 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.1355, allocations: 4.375 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.1355, allocations: 7.938 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1355, allocations: 4 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.1358, allocations: 187.4 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.1359, allocations: 89 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.1359, allocations: 4 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.229e-05/0.136, allocations: 7.938 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.136, allocations: 7.984 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.136, allocations: 0 / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1361, allocations: 119.2 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1361, allocations: 0 / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.1364, allocations: 20 kB / 488.7 MB, free: 14.27 MB / 366.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 (5): * Single equations (assignments): 5 * 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.001467/0.1379, allocations: 398.3 kB / 489.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.1381, allocations: 55.97 kB / 489.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1381, allocations: 0 / 489.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.109e-05/0.1382, allocations: 39.97 kB / 489.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.1385, allocations: 10.23 kB / 489.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.139, allocations: 213.3 kB / 489.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.1395, allocations: 0.6965 MB / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.389e-05/0.1395, allocations: 15.97 kB / 490.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.1396, allocations: 11.44 kB / 490.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1396, allocations: 0 / 490.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of Templates: time 0.004487/0.1441, allocations: 1.07 MB / 491.2 MB, free: 11.85 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches