Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009757/0.0009756, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2044/0.2044, allocations: 46.18 MB / 345.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002828, allocations: 8 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1177, allocations: 63.56 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.001995/0.1197, allocations: 1.318 MB / 484.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1208, allocations: 0.5224 MB / 485 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.638e-05/0.1208, allocations: 0 / 485 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.121, allocations: 15.92 kB / 485 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.1213, allocations: 75.69 kB / 485.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.1217, allocations: 99.06 kB / 485.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.1219, allocations: 59.84 kB / 485.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.122, allocations: 8 kB / 485.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.474e-05/0.1221, allocations: 23.84 kB / 485.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.545e-05/0.1222, allocations: 23.86 kB / 485.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1222, allocations: 4 kB / 485.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1223, allocations: 24 kB / 485.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.1224, allocations: 11.98 kB / 485.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.1225, allocations: 53.44 kB / 485.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1226, allocations: 76.06 kB / 485.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1226, allocations: 0 / 485.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1227, allocations: 0 / 485.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1227, allocations: 0 / 485.5 MB, free: 1.766 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005128/0.1232, allocations: 389.4 kB / 485.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.1232, allocations: 8.875 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.1233, allocations: 30.75 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.1233, allocations: 8.844 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.1235, allocations: 194.8 kB / 486.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.1235, allocations: 4.375 kB / 486.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1236, allocations: 384 / 486.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1237, allocations: 57.56 kB / 486.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1237, allocations: 0 / 486.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1238, allocations: 0 / 486.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1238, allocations: 8 kB / 486.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1239, allocations: 31.95 kB / 486.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.1243, allocations: 276.9 kB / 486.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.1245, allocations: 54.48 kB / 486.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.206e-05/0.1246, allocations: 20.86 kB / 486.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1246, allocations: 0 / 486.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.1247, allocations: 38.64 kB / 486.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1247, allocations: 0 / 486.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006383/0.1253, allocations: 177.2 kB / 486.8 MB, free: 328 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.1254, allocations: 51.41 kB / 486.8 MB, free: 264 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1255, allocations: 150.2 kB / 487 MB, free: 100 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1255, allocations: 25.7 kB / 487 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.1256, allocations: 96.12 kB / 487.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.1256, allocations: 15.72 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.1257, allocations: 13.72 kB / 487.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1258, allocations: 330.7 kB / 487.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.922e-05/0.1259, allocations: 23.98 kB / 487.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.394e-05/0.126, allocations: 27.98 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.1261, allocations: 64.75 kB / 487.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1261, allocations: 0 / 487.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002531/0.1264, allocations: 97.52 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1264, allocations: 4 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1264, allocations: 0 / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1264, allocations: 0 / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.1265, allocations: 19.98 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1265, allocations: 0 / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.1266, allocations: 15.92 kB / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1266, allocations: 7.938 kB / 487.7 MB, free: 15.34 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 (5): * Single equations (assignments): 5 * 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.367e-05/0.1267, allocations: 113.8 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.1267, allocations: 7.906 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.127, allocations: 109.9 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.127, allocations: 4 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.127, allocations: 0 / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.127, allocations: 0 / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.1275, allocations: 366.4 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1275, allocations: 384 / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.668e-05/0.1276, allocations: 19.98 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1276, allocations: 0 / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1276, allocations: 4 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1276, allocations: 7.938 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1276, allocations: 0 / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.1279, allocations: 191.4 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.1279, allocations: 85.02 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.1279, allocations: 0 / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.128, allocations: 11.92 kB / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.1281, allocations: 8 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1281, allocations: 0 / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1282, allocations: 121.4 kB / 488.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1282, allocations: 4 kB / 488.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.1284, allocations: 16 kB / 488.7 MB, free: 14.18 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 (5): * Single equations (assignments): 5 * 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.001281/0.1297, allocations: 1.013 MB / 489.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.1299, allocations: 63.89 kB / 489.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1299, allocations: 0 / 489.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.381e-05/0.13, allocations: 31.98 kB / 489.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.1304, allocations: 23.92 kB / 489.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.1319, allocations: 1.495 MB / 491.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.1321, allocations: 0.6965 MB / 492 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.617e-05/0.1322, allocations: 20.03 kB / 492.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.1323, allocations: 27.42 kB / 492.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1323, allocations: 0 / 492.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.1449, allocations: 2.161 MB / 494.3 MB, free: 8.77 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/0.1452, allocations: 233.8 kB / 494.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/1.887, allocations: 0 / 494.5 MB, free: 8.512 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches