Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, allocations: 115.7 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001317, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2092/0.2092, allocations: 46.09 MB / 343.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 76.78 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.109, allocations: 62.45 MB / 479.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003221/0.1122, allocations: 1.684 MB / 481.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1133, allocations: 0.53 MB / 481.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.878e-05/0.1134, allocations: 0 / 481.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.1137, allocations: 103.7 kB / 481.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.1141, allocations: 87.78 kB / 482 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.1144, allocations: 107.1 kB / 482.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.1146, allocations: 83.75 kB / 482.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1147, allocations: 23.98 kB / 482.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.263e-05/0.1148, allocations: 35.89 kB / 482.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.1149, allocations: 51.83 kB / 482.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1149, allocations: 7.984 kB / 482.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.115, allocations: 47.92 kB / 482.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.1151, allocations: 23.92 kB / 482.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.1151, allocations: 31.69 kB / 482.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.1153, allocations: 108 kB / 482.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1153, allocations: 0 / 482.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1154, allocations: 4 kB / 482.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1154, allocations: 0 / 482.5 MB, free: 2.562 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.0005272/0.1159, allocations: 426.8 kB / 482.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.116, allocations: 8.031 kB / 482.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.116, allocations: 34.75 kB / 483 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.1161, allocations: 16.75 kB / 483 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.1163, allocations: 204.6 kB / 483.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.1163, allocations: 384 / 483.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.1163, allocations: 4.375 kB / 483.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.1165, allocations: 61.61 kB / 483.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1165, allocations: 0 / 483.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1165, allocations: 4 kB / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1165, allocations: 0 / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1166, allocations: 31.97 kB / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.1171, allocations: 304.7 kB / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.1172, allocations: 50.55 kB / 483.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.1173, allocations: 16.86 kB / 483.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.1173, allocations: 7.938 kB / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.1173, allocations: 34.64 kB / 483.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.1174, allocations: 0 / 483.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009544/0.1183, allocations: 249.2 kB / 483.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1184, allocations: 59.34 kB / 484 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.1186, allocations: 230.6 kB / 484.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1186, allocations: 25.7 kB / 484.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.1187, allocations: 108.1 kB / 484.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.1188, allocations: 31.56 kB / 484.4 MB, free: 496 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.1188, allocations: 21.7 kB / 484.4 MB, free: 468 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1189, allocations: 326.8 kB / 484.7 MB, free: 132 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.452e-05/0.119, allocations: 35.92 kB / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.583e-05/0.1191, allocations: 32.03 kB / 484.8 MB, free: 64 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.1193, allocations: 68.91 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1193, allocations: 4 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00023/0.1196, allocations: 121.5 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1196, allocations: 4 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1196, allocations: 0 / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1196, allocations: 4 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.66e-05/0.1197, allocations: 15.98 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1197, allocations: 3.938 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.1198, allocations: 4 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1198, allocations: 8 kB / 485 MB, free: 15.82 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 0.000141/0.1199, allocations: 133.8 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.12, allocations: 11.81 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.1203, allocations: 131 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1203, allocations: 0 / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.1203, allocations: 7.938 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1203, allocations: 0 / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.1208, allocations: 427.5 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1208, allocations: 0 / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/0.1209, allocations: 23.92 kB / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1209, allocations: 0 / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1209, allocations: 0 / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.121, allocations: 4 kB / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.121, allocations: 4.031 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1212, allocations: 220.2 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.1213, allocations: 92.86 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.1213, allocations: 4 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8e-05/0.1214, allocations: 7.984 kB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.1215, allocations: 8 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1215, allocations: 4 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.1216, allocations: 184.2 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1216, allocations: 0 / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1219, allocations: 20 kB / 486.3 MB, free: 14.46 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 (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.001491/0.1234, allocations: 1.092 MB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.1237, allocations: 79.89 kB / 487.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1237, allocations: 3.938 kB / 487.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.864e-05/0.1238, allocations: 39.97 kB / 487.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.1242, allocations: 15 kB / 487.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.1261, allocations: 1.782 MB / 489.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.1265, allocations: 0.7215 MB / 490 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.021e-05/0.1266, allocations: 20.95 kB / 490 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.1267, allocations: 39.42 kB / 490.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1267, allocations: 0 / 490.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.1408, allocations: 3.049 MB / 493.1 MB, free: 7.73 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/0.141, allocations: 234.7 kB / 493.3 MB, free: 7.473 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.077, allocations: 3.938 kB / 493.3 MB, free: 7.469 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches