Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008694/0.0008699, allocations: 97.97 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000981/0.0009811, allocations: 200.5 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.7 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.1975/0.1975, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000263/0.0002631, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.114, allocations: 63.57 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.001958/0.116, allocations: 1.373 MB / 484.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009888/0.117, allocations: 0.5691 MB / 485.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.1171, allocations: 0 / 485.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.1176, allocations: 455.1 kB / 485.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.118, allocations: 275.5 kB / 485.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.1184, allocations: 163.1 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.1187, allocations: 167.6 kB / 486.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.821e-05/0.1188, allocations: 23.97 kB / 486.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.1189, allocations: 107.7 kB / 486.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.1191, allocations: 203.6 kB / 486.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.1191, allocations: 0 / 486.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.9e-05/0.1193, allocations: 43.91 kB / 486.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.746e-05/0.1194, allocations: 83.69 kB / 486.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.923e-05/0.1195, allocations: 128.7 kB / 486.7 MB, free: 488 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.1197, allocations: 255.1 kB / 487 MB, free: 232 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1197, allocations: 0 / 487 MB, free: 232 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1197, allocations: 4 kB / 487 MB, free: 228 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1197, allocations: 0 / 487 MB, free: 228 kB / 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.0006531/0.1204, allocations: 0.6028 MB / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1205, allocations: 12.88 kB / 487.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.1205, allocations: 38.69 kB / 487.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.1206, allocations: 40.38 kB / 487.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.1208, allocations: 312.1 kB / 488 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.1208, allocations: 384 / 488 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1209, allocations: 4.375 kB / 488 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.121, allocations: 65.61 kB / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.121, allocations: 0 / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.1211, allocations: 4 kB / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1211, allocations: 0 / 488.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.1212, allocations: 55.89 kB / 488.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.1217, allocations: 412.7 kB / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.1219, allocations: 50.56 kB / 488.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.889e-05/0.122, allocations: 36.86 kB / 488.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.122, allocations: 4 kB / 488.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.122, allocations: 30.56 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 2.916e-06/0.122, allocations: 0 / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008913/0.1229, allocations: 355.8 kB / 489 MB, free: 14.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.123, allocations: 55.34 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007646/0.1237, allocations: 0.8737 MB / 489.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1238, allocations: 29.7 kB / 489.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.1239, allocations: 223.9 kB / 490.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1239, allocations: 19.64 kB / 490.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.124, allocations: 17.72 kB / 490.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1241, allocations: 362.8 kB / 490.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.1242, allocations: 47.95 kB / 490.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1244, allocations: 43.97 kB / 490.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.1246, allocations: 108.9 kB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1246, allocations: 0 / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003307/0.125, allocations: 177.3 kB / 490.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.125, allocations: 11.94 kB / 490.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.125, allocations: 4 kB / 490.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.125, allocations: 0 / 490.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1252, allocations: 23.98 kB / 491 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1252, allocations: 0 / 491 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.83e-05/0.1253, allocations: 19.92 kB / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.1253, allocations: 4 kB / 491 MB, free: 11.99 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 (7): * Single equations (assignments): 7 * 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.0001698/0.1255, allocations: 217.8 kB / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.1255, allocations: 43.44 kB / 491.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004008/0.1259, allocations: 201.5 kB / 491.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1259, allocations: 4 kB / 491.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1259, allocations: 0 / 491.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1259, allocations: 3.938 kB / 491.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006443/0.1266, allocations: 0.5296 MB / 492 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1266, allocations: 0 / 492 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.472e-05/0.1267, allocations: 19.98 kB / 492 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1267, allocations: 7.938 kB / 492 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1267, allocations: 7.938 kB / 492 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1268, allocations: 11.92 kB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1268, allocations: 0 / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.1271, allocations: 274.9 kB / 492.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.1272, allocations: 108.5 kB / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.1272, allocations: 7.938 kB / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.1273, allocations: 11.98 kB / 492.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.1274, allocations: 11.98 kB / 492.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.1274, allocations: 0 / 492.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005676/0.128, allocations: 0.6628 MB / 493.1 MB, free: 9.777 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.128, allocations: 0 / 493.1 MB, free: 9.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1282, allocations: 24 kB / 493.1 MB, free: 9.754 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 (7): * Single equations (assignments): 7 * 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.001413/0.1297, allocations: 1.105 MB / 494.2 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.13, allocations: 111.9 kB / 494.3 MB, free: 8.656 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.13, allocations: 0 / 494.3 MB, free: 8.656 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.1301, allocations: 64.05 kB / 494.4 MB, free: 8.594 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.1305, allocations: 26.3 kB / 494.4 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.1342, allocations: 3.52 MB / 497.9 MB, free: 4.953 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1345, allocations: 0.8359 MB / 498.8 MB, free: 4.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.464e-05/0.1346, allocations: 20.66 kB / 498.8 MB, free: 4.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.1348, allocations: 119.4 kB / 498.9 MB, free: 3.953 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1348, allocations: 0 / 498.9 MB, free: 3.953 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.1499, allocations: 5.652 MB / 0.4927 GB, free: 14.39 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/0.1502, allocations: 232.4 kB / 0.493 GB, free: 14.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/1.975, allocations: 0 / 0.493 GB, free: 14.14 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches