Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001078/0.001078, allocations: 93.75 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009714/0.0009717, allocations: 200.3 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.327/1.327, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1985/0.1985, allocations: 46.18 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.0002551, allocations: 8 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1153, allocations: 63.56 MB / 483.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.00202/0.1173, allocations: 1.373 MB / 484.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009901/0.1184, allocations: 0.5379 MB / 485.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.432e-05/0.1185, allocations: 0 / 485.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.1188, allocations: 95.73 kB / 485.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.119, allocations: 99.77 kB / 485.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.1194, allocations: 99.44 kB / 485.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.1196, allocations: 95.75 kB / 485.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1197, allocations: 32.25 kB / 485.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.1198, allocations: 39.84 kB / 485.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1199, allocations: 55.81 kB / 485.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.1199, allocations: 0 / 485.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.12, allocations: 43.92 kB / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.1201, allocations: 27.91 kB / 485.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.1202, allocations: 61.33 kB / 485.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.1204, allocations: 131.5 kB / 485.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1204, allocations: 0 / 485.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1204, allocations: 4 kB / 485.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1204, allocations: 0 / 485.9 MB, free: 1.387 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005212/0.121, allocations: 411.1 kB / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.121, allocations: 8.875 kB / 486.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.1211, allocations: 34.75 kB / 486.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.1211, allocations: 20.73 kB / 486.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.1214, allocations: 212.5 kB / 486.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1214, allocations: 384 / 486.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.1214, allocations: 8.375 kB / 486.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.1216, allocations: 81.59 kB / 486.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1216, allocations: 0 / 486.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.1216, allocations: 4 kB / 486.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1216, allocations: 0 / 486.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.1218, allocations: 43.97 kB / 486.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.1223, allocations: 352.6 kB / 487 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.1224, allocations: 66.55 kB / 487.1 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.705e-05/0.1225, allocations: 29.05 kB / 487.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.1225, allocations: 3.984 kB / 487.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1226, allocations: 38.5 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 3.186e-06/0.1226, allocations: 0 / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001137/0.1237, allocations: 385.2 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.1238, allocations: 55.41 kB / 487.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.124, allocations: 235.5 kB / 487.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.124, allocations: 29.7 kB / 487.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.1241, allocations: 112 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.378e-05/0.1242, allocations: 47.38 kB / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.1242, allocations: 17.66 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1243, allocations: 326.8 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.1244, allocations: 51.97 kB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.843e-05/0.1245, allocations: 47.97 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.1248, allocations: 124.4 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1248, allocations: 4 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002871/0.1251, allocations: 165.4 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1251, allocations: 4 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.1251, allocations: 3.938 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1251, allocations: 4 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1252, allocations: 23.98 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1253, allocations: 7.938 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.49e-05/0.1253, allocations: 15.98 kB / 488.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1253, allocations: 4 kB / 488.8 MB, free: 14.23 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 (13): * Single equations (assignments): 13 * 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.727e-05/0.1254, allocations: 133.8 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.1255, allocations: 15.81 kB / 488.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/0.1259, allocations: 191.1 kB / 489.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1259, allocations: 4 kB / 489.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1259, allocations: 0 / 489.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1259, allocations: 7.922 kB / 489.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.1265, allocations: 0.5069 MB / 489.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1265, allocations: 4 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.47e-05/0.1266, allocations: 23.98 kB / 489.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1267, allocations: 4 kB / 489.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1267, allocations: 0 / 489.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1267, allocations: 4.031 kB / 489.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1267, allocations: 0 / 489.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.127, allocations: 272 kB / 489.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.1271, allocations: 92.92 kB / 490 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.1271, allocations: 4 kB / 490 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/0.1272, allocations: 11.98 kB / 490 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.1272, allocations: 8 kB / 490 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1273, allocations: 8 kB / 490 MB, free: 12.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1274, allocations: 177.2 kB / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1274, allocations: 3.938 kB / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1277, allocations: 35.98 kB / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001507/0.1292, allocations: 1.134 MB / 491.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002875/0.1295, allocations: 127.9 kB / 491.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1295, allocations: 0 / 491.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1296, allocations: 71.83 kB / 491.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.13, allocations: 19.98 kB / 491.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.1322, allocations: 1.974 MB / 493.6 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1325, allocations: 0.7313 MB / 494.3 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.519e-05/0.1326, allocations: 28.42 kB / 494.3 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.562e-05/0.1327, allocations: 47.41 kB / 494.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1327, allocations: 0 / 494.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/0.1462, allocations: 3.146 MB / 497.5 MB, free: 5.504 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/0.1465, allocations: 236.1 kB / 497.8 MB, free: 5.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/1.897, allocations: 8 kB / 497.8 MB, free: 5.242 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches