Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009098/0.0009099, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000918/0.0009181, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1941/0.1941, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002245/0.0002245, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1041, allocations: 63.55 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001763/0.1059, allocations: 1.334 MB / 484.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009206/0.1069, allocations: 0.5418 MB / 485.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.1069, allocations: 0 / 485.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.1075, allocations: 455.2 kB / 485.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.1079, allocations: 279.4 kB / 485.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.1083, allocations: 159.2 kB / 485.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.1085, allocations: 159.7 kB / 486.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.12e-05/0.1086, allocations: 12 kB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.1087, allocations: 103.7 kB / 486.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.1089, allocations: 203.6 kB / 486.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.109, allocations: 0 / 486.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.466e-05/0.109, allocations: 23.97 kB / 486.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.981e-05/0.1091, allocations: 83.69 kB / 486.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.689e-05/0.1092, allocations: 124.7 kB / 486.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.1095, allocations: 246.9 kB / 486.9 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1095, allocations: 4 kB / 486.9 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1095, allocations: 4 kB / 486.9 MB, free: 352 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1095, allocations: 0 / 486.9 MB, free: 352 kB / 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.000592/0.1101, allocations: 0.5913 MB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1101, allocations: 12.88 kB / 487.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.067e-05/0.1102, allocations: 30.75 kB / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.1102, allocations: 40.47 kB / 487.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.1105, allocations: 304.1 kB / 487.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.1105, allocations: 4.375 kB / 487.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.1105, allocations: 384 / 487.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1106, allocations: 57.56 kB / 487.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.1107, allocations: 4 kB / 487.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.1107, allocations: 0 / 487.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1107, allocations: 0 / 487.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.899e-05/0.1108, allocations: 31.98 kB / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.1112, allocations: 388.7 kB / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.206e-05/0.1113, allocations: 46.44 kB / 488.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.1114, allocations: 20.91 kB / 488.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.1114, allocations: 0 / 488.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.1114, allocations: 30.56 kB / 488.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.1114, allocations: 0 / 488.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002643/0.1117, allocations: 113.1 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.1117, allocations: 51.41 kB / 488.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007814/0.1125, allocations: 0.8777 MB / 489.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.1125, allocations: 25.7 kB / 489.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.1127, allocations: 232 kB / 489.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.1127, allocations: 3.906 kB / 489.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.1128, allocations: 17.84 kB / 489.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1129, allocations: 362.7 kB / 490.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-05/0.1129, allocations: 11.98 kB / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.984e-05/0.113, allocations: 15.98 kB / 490.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.45e-05/0.1131, allocations: 32.91 kB / 490.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1131, allocations: 0 / 490.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001513/0.1132, allocations: 97.12 kB / 490.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1133, allocations: 7.938 kB / 490.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1133, allocations: 0 / 490.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1133, allocations: 3.984 kB / 490.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.1133, allocations: 11.94 kB / 490.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1134, allocations: 0 / 490.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.197e-05/0.1134, allocations: 8.031 kB / 490.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.1134, allocations: 0 / 490.3 MB, free: 12.71 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 (2): * Single equations (assignments): 2 * 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.0001631/0.1136, allocations: 217.7 kB / 490.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.1137, allocations: 43.44 kB / 490.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.1139, allocations: 108.7 kB / 490.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1139, allocations: 3.984 kB / 490.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1139, allocations: 4.031 kB / 490.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1139, allocations: 0 / 490.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.1141, allocations: 289.5 kB / 490.9 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1141, allocations: 0 / 490.9 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/0.1142, allocations: 8 kB / 490.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.1142, allocations: 7.984 kB / 490.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1142, allocations: 0 / 490.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1142, allocations: 3.938 kB / 490.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1142, allocations: 0 / 490.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.1144, allocations: 195 kB / 491.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/0.1145, allocations: 112.5 kB / 491.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.1145, allocations: 4 kB / 491.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.1146, allocations: 4 kB / 491.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.1146, allocations: 7.922 kB / 491.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.1146, allocations: 4 kB / 491.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005646/0.1152, allocations: 0.6629 MB / 491.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1152, allocations: 0 / 491.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000238/0.1155, allocations: 19.94 kB / 491.9 MB, free: 10.94 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 (2): * Single equations (assignments): 2 * 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.001028/0.1165, allocations: 0.9687 MB / 492.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.1166, allocations: 35.97 kB / 492.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1166, allocations: 0 / 492.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.614e-05/0.1167, allocations: 12 kB / 493 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1171, allocations: 22.3 kB / 493 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.1211, allocations: 3.288 MB / 496.3 MB, free: 6.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.1215, allocations: 0.8264 MB / 497.1 MB, free: 5.754 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.555e-05/0.1215, allocations: 11.94 kB / 497.1 MB, free: 5.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.1217, allocations: 115.4 kB / 497.2 MB, free: 5.629 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1217, allocations: 0 / 497.2 MB, free: 5.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04906/0.1707, allocations: 5.262 MB / 0.4907 GB, free: 480 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002555/0.1711, allocations: 229.9 kB / 0.4909 GB, free: 220 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/1.999, allocations: 0 / 0.4909 GB, free: 220 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches