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.001534/0.001534, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001923/0.001923, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1992/0.1992, allocations: 46.11 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 70.66 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1138, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002827/0.1167, allocations: 1.614 MB / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1183, allocations: 1.171 MB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/0.1183, allocations: 7.938 kB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.1185, allocations: 23.86 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.1188, allocations: 83.61 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.1191, allocations: 115.6 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.1192, allocations: 71.91 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.1193, allocations: 31.89 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.683e-05/0.1194, allocations: 31.86 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.1195, allocations: 39.83 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1195, allocations: 8 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.1197, allocations: 95.94 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.1197, allocations: 23.86 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.1198, allocations: 27.81 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.12, allocations: 155.8 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.12, allocations: 0 / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.12, allocations: 0 / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1201, allocations: 0 / 483.6 MB, free: 1.688 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.0004877/0.1206, allocations: 419.1 kB / 484 MB, free: 1.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1206, allocations: 8.031 kB / 484 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.388e-05/0.1206, allocations: 30.75 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.1207, allocations: 12.84 kB / 484.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.1209, allocations: 204.1 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.1209, allocations: 4.375 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.1209, allocations: 4.375 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1211, allocations: 79.31 kB / 484.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1211, allocations: 0 / 484.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1211, allocations: 8 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.1211, allocations: 3.938 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.1212, allocations: 35.97 kB / 484.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.1216, allocations: 308.7 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.1218, allocations: 58.59 kB / 484.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.1218, allocations: 28.97 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.1219, allocations: 0 / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1219, allocations: 30.56 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.1219, allocations: 0 / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006175/0.1225, allocations: 197.1 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.1226, allocations: 81.11 kB / 485.1 MB, free: 4 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.1227, allocations: 157.8 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1228, allocations: 29.7 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.1228, allocations: 96.08 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.1229, allocations: 31.55 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.1229, allocations: 17.72 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.123, allocations: 322.8 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/0.1231, allocations: 23.98 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.871e-05/0.1232, allocations: 49.69 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.1234, allocations: 76.75 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1234, allocations: 0 / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002223/0.1236, allocations: 109.8 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1236, allocations: 13.97 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1236, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1236, allocations: 4.031 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.864e-05/0.1237, allocations: 15.98 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1238, allocations: 11.88 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.1238, allocations: 0 / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1238, allocations: 16.3 kB / 486.1 MB, free: 15 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 8.361e-05/0.1239, allocations: 113.8 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.124, allocations: 7.906 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.1243, allocations: 130.3 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1243, allocations: 0 / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1243, allocations: 7.938 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1243, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.1248, allocations: 406.4 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1248, allocations: 0 / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/0.1249, allocations: 23.92 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1249, allocations: 4 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.1249, allocations: 0 / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1249, allocations: 0 / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1249, allocations: 0 / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.1252, allocations: 211.2 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.1252, allocations: 85.05 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.1252, allocations: 4 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.1253, allocations: 11.98 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.1254, allocations: 7.984 kB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.1254, allocations: 0 / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.926e-05/0.1255, allocations: 119.2 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1255, allocations: 4 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000285/0.1258, allocations: 39.98 kB / 487.2 MB, free: 13.74 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.001421/0.1272, allocations: 1.128 MB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.1274, allocations: 75.94 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1274, allocations: 0 / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.392e-05/0.1275, allocations: 43.91 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1279, allocations: 22.48 kB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.1295, allocations: 1.536 MB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.1298, allocations: 0.7002 MB / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.67e-05/0.1299, allocations: 24.41 kB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.1299, allocations: 31.42 kB / 490.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1299, allocations: 0 / 490.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05534/0.1853, allocations: 3.368 MB / 494.1 MB, free: 6.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/7.962, allocations: 6.562 kB / 494.1 MB, free: 6.91 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