Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008777/0.0008777, allocations: 95.27 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009017/0.0009018, allocations: 200.9 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.8 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2061/0.2061, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002668/0.0002668, allocations: 11.98 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1173, allocations: 63.56 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.00221/0.1196, allocations: 1.314 MB / 484.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1215, allocations: 1.132 MB / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.1216, allocations: 0 / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.1218, allocations: 19.86 kB / 485.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.1221, allocations: 67.81 kB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.1225, allocations: 107.4 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.1227, allocations: 63.84 kB / 485.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1229, allocations: 7.984 kB / 485.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.289e-05/0.1229, allocations: 31.8 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.1231, allocations: 31.83 kB / 485.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.1232, allocations: 4 kB / 486 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.1234, allocations: 91.94 kB / 486 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.302e-05/0.1234, allocations: 8 kB / 486.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.1235, allocations: 53.44 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.1238, allocations: 132 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1238, allocations: 0 / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1238, allocations: 0 / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1238, allocations: 0 / 486.2 MB, free: 0.9883 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.0005762/0.1244, allocations: 395.2 kB / 486.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.1245, allocations: 8.875 kB / 486.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.907e-05/0.1245, allocations: 38.75 kB / 486.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.1246, allocations: 4.844 kB / 486.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.1248, allocations: 200.1 kB / 486.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1249, allocations: 384 / 486.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.1249, allocations: 4.375 kB / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.1251, allocations: 67.33 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1251, allocations: 0 / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.1252, allocations: 11.98 kB / 486.9 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1252, allocations: 0 / 486.9 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1253, allocations: 27.97 kB / 487 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.1258, allocations: 292.8 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.126, allocations: 50.56 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.832e-05/0.1261, allocations: 20.94 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1261, allocations: 0 / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1262, allocations: 34.56 kB / 487.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1262, allocations: 0 / 487.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006503/0.1268, allocations: 173.2 kB / 487.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.1269, allocations: 77.11 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.1271, allocations: 152.1 kB / 487.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1271, allocations: 33.64 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.1272, allocations: 92.12 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.1272, allocations: 15.81 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.1272, allocations: 9.719 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1273, allocations: 322.8 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.991e-05/0.1274, allocations: 27.92 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.079e-05/0.1275, allocations: 49.69 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1277, allocations: 52.83 kB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1277, allocations: 0 / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002052/0.1279, allocations: 97.61 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1279, allocations: 4 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1279, allocations: 0 / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.128, allocations: 3.984 kB / 488.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/0.128, allocations: 15.94 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.128, allocations: 0 / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.1281, allocations: 19.92 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1281, allocations: 4 kB / 488.5 MB, free: 14.48 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 9.107e-05/0.1282, allocations: 113.8 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.1283, allocations: 7.906 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.1285, allocations: 113.9 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1285, allocations: 0 / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1285, allocations: 3.938 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1286, allocations: 3.938 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.129, allocations: 366.8 kB / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.129, allocations: 0 / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.1291, allocations: 20.05 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1291, allocations: 0 / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1291, allocations: 3.938 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1291, allocations: 4 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1291, allocations: 0 / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.1294, allocations: 195.4 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.1295, allocations: 89 kB / 489.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.1295, allocations: 7.938 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.1296, allocations: 8 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.1297, allocations: 3.984 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.1297, allocations: 3.938 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.302e-05/0.1298, allocations: 115.3 kB / 489.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1298, allocations: 0 / 489.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000294/0.1301, allocations: 35.98 kB / 489.6 MB, free: 13.3 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.001632/0.1317, allocations: 1.116 MB / 490.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.132, allocations: 63.84 kB / 490.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.132, allocations: 4 kB / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.1321, allocations: 31.98 kB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.1324, allocations: 15.98 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.1342, allocations: 1.479 MB / 492.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.1345, allocations: 0.7004 MB / 493 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.769e-05/0.1346, allocations: 20.2 kB / 493 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.1347, allocations: 23.42 kB / 493 MB, free: 9.887 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1347, allocations: 0 / 493 MB, free: 9.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.1489, allocations: 2.807 MB / 495.8 MB, free: 7.195 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/0.1492, allocations: 247 kB / 496.1 MB, free: 6.934 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/1.926, allocations: 3.938 kB / 496.1 MB, free: 6.93 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches