Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 105.6 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002404/0.002404, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2299/0.2299, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 79.34 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1081, allocations: 62.44 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002712/0.1108, allocations: 1.673 MB / 481.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.1123, allocations: 1.144 MB / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.1124, allocations: 0 / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.1126, allocations: 19.92 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.1129, allocations: 75.75 kB / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.1132, allocations: 103.1 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.1133, allocations: 79.81 kB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.519e-05/0.1134, allocations: 23.94 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.539e-05/0.1135, allocations: 27.86 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.1136, allocations: 43.83 kB / 482.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1136, allocations: 8 kB / 482.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.1138, allocations: 99.88 kB / 482.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.1138, allocations: 19.92 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.1139, allocations: 31.78 kB / 482.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.1141, allocations: 147.9 kB / 483.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1141, allocations: 0 / 483.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1141, allocations: 0 / 483.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1141, allocations: 0 / 483.1 MB, free: 2.004 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004434/0.1146, allocations: 415 kB / 483.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1146, allocations: 16.03 kB / 483.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.1147, allocations: 38.69 kB / 483.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.1147, allocations: 12.84 kB / 483.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.1149, allocations: 200.1 kB / 483.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.1149, allocations: 384 / 483.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.1149, allocations: 8.375 kB / 483.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1151, allocations: 79.27 kB / 483.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1151, allocations: 0 / 483.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1151, allocations: 8 kB / 483.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.1151, allocations: 4 kB / 483.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.604e-05/0.1152, allocations: 31.97 kB / 483.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.1156, allocations: 312.8 kB / 484.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.1157, allocations: 58.5 kB / 484.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/0.1158, allocations: 20.97 kB / 484.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.1158, allocations: 4 kB / 484.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.1158, allocations: 34.55 kB / 484.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1159, allocations: 0 / 484.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005854/0.1164, allocations: 201.1 kB / 484.5 MB, free: 416 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.1165, allocations: 81.11 kB / 484.6 MB, free: 316 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1166, allocations: 153.8 kB / 484.7 MB, free: 152 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1167, allocations: 29.7 kB / 484.8 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.1167, allocations: 100.1 kB / 484.9 MB, free: 12 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.1168, allocations: 23.73 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.1168, allocations: 29.64 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1169, allocations: 318.8 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.481e-05/0.117, allocations: 31.97 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.124e-05/0.1171, allocations: 45.62 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.1172, allocations: 72.83 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1173, allocations: 0 / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002079/0.1175, allocations: 105.5 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1175, allocations: 10.06 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1175, allocations: 4 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1175, allocations: 7.922 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.721e-05/0.1176, allocations: 15.94 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1176, allocations: 3.938 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.028e-05/0.1177, allocations: 11.98 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1177, allocations: 4 kB / 485.5 MB, free: 15.31 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 (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 7.253e-05/0.1178, allocations: 113.8 kB / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.1178, allocations: 15.89 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.1181, allocations: 122.7 kB / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1181, allocations: 0 / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1181, allocations: 3.938 kB / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1181, allocations: 0 / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.1186, allocations: 414.9 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1186, allocations: 0 / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.1186, allocations: 23.92 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1186, allocations: 0 / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.1187, allocations: 4 kB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1187, allocations: 7.922 kB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1187, allocations: 0 / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.1189, allocations: 207.3 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.119, allocations: 81.05 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.119, allocations: 7.984 kB / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.1191, allocations: 8 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.1191, allocations: 0 / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1191, allocations: 7.984 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.444e-05/0.1192, allocations: 115.2 kB / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1192, allocations: 0 / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1195, allocations: 47.98 kB / 486.7 MB, free: 14.05 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 (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.001322/0.1208, allocations: 1.129 MB / 487.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.121, allocations: 87.86 kB / 487.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.121, allocations: 0 / 487.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.513e-05/0.1211, allocations: 39.98 kB / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.1214, allocations: 19.08 kB / 487.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.1229, allocations: 1.563 MB / 489.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.1231, allocations: 0.6968 MB / 490.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.861e-05/0.1232, allocations: 20.72 kB / 490.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.1232, allocations: 35.41 kB / 490.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1233, allocations: 288 / 490.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.904/1.027, allocations: 3.278 MB / 493.5 MB, free: 7.309 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003278/1.028, allocations: 248.4 kB / 493.8 MB, free: 7.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/3.63, allocations: 4 kB / 493.8 MB, free: 7.039 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches