Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00121/0.00121, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.217/0.217, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001424, allocations: 77.56 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.11, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003289/0.1134, allocations: 1.665 MB / 481.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1151, allocations: 1.199 MB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.1152, allocations: 0 / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.1154, allocations: 35.78 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.1157, allocations: 87.61 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.1162, allocations: 170.9 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.1163, allocations: 79.77 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1164, allocations: 23.98 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.296e-05/0.1165, allocations: 31.86 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.1166, allocations: 39.83 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1167, allocations: 4 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.1169, allocations: 99.88 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.1169, allocations: 23.92 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.641e-05/0.117, allocations: 31.8 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.1172, allocations: 147.9 kB / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1172, allocations: 3.984 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1172, allocations: 0 / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.1172, allocations: 0 / 483.8 MB, free: 1.535 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.0005055/0.1178, allocations: 415.1 kB / 484.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1178, allocations: 12.03 kB / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.1178, allocations: 34.69 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.1179, allocations: 8.844 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.1181, allocations: 214.5 kB / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.1181, allocations: 384 / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1181, allocations: 4.375 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1183, allocations: 75.33 kB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1183, allocations: 3.984 kB / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1183, allocations: 4 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1184, allocations: 0 / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.1185, allocations: 47.89 kB / 484.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.1189, allocations: 308.8 kB / 484.9 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.119, allocations: 42.66 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.268e-05/0.1191, allocations: 32.83 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.1191, allocations: 4 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1192, allocations: 34.5 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.184e-06/0.1192, allocations: 0 / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007951/0.12, allocations: 237.1 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.12, allocations: 85.09 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1202, allocations: 157.7 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1202, allocations: 25.7 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.1203, allocations: 100.1 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.1203, allocations: 15.72 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.1203, allocations: 25.7 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.177e-05/0.1204, allocations: 326.8 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.1206, allocations: 35.97 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.1207, allocations: 49.69 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.1209, allocations: 96.81 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1209, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000291/0.1212, allocations: 125.5 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1213, allocations: 4 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.1213, allocations: 3.984 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1213, allocations: 0 / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1214, allocations: 19.98 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1214, allocations: 0 / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.761e-05/0.1215, allocations: 27.77 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1215, allocations: 4 kB / 486.3 MB, free: 14.76 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 8.13e-05/0.1216, allocations: 121.8 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.1217, allocations: 7.906 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003373/0.122, allocations: 146.6 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.122, allocations: 0 / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.122, allocations: 3.984 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.122, allocations: 3.938 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.1226, allocations: 410.5 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1226, allocations: 0 / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.184e-05/0.1227, allocations: 23.92 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1227, allocations: 4 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1227, allocations: 11.92 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1227, allocations: 0 / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1227, allocations: 0 / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.1231, allocations: 215.4 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.1231, allocations: 89.02 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.1232, allocations: 11.86 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1233, allocations: 12 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.1233, allocations: 3.984 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1233, allocations: 4 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.856e-05/0.1234, allocations: 118 kB / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.1234, allocations: 0 / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.1237, allocations: 51.92 kB / 487.5 MB, free: 13.44 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.001544/0.1253, allocations: 1.131 MB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000312/0.1256, allocations: 99.84 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1256, allocations: 4 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.1258, allocations: 47.95 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.1261, allocations: 19 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.1281, allocations: 1.643 MB / 490.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.1283, allocations: 0.6963 MB / 491.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.533e-05/0.1284, allocations: 32.69 kB / 491.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.1285, allocations: 31.42 kB / 491.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of SimCode: time 5.72e-07/0.1285, allocations: 0 / 491.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.1505, allocations: 3.505 MB / 494.7 MB, free: 6.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.455/7.605, allocations: 24.3 kB / 494.7 MB, free: 6.312 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches