Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 107.2 kB / 15.98 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 188.8 kB / 16.9 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 222.8 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1967/0.1967, allocations: 43.53 MB / 313.6 MB, free: 0.6953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001449, allocations: 65.67 kB / 382.3 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1027, allocations: 57.8 MB / 440.1 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.003516/0.1063, allocations: 1.611 MB / 441.7 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005348/0.1068, allocations: 307.6 kB / 442 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.252e-05/0.1069, allocations: 8 kB / 442 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000456/0.1074, allocations: 443.2 kB / 442.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.1077, allocations: 243.6 kB / 442.7 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.108, allocations: 107.4 kB / 442.8 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.1083, allocations: 143.8 kB / 443 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1084, allocations: 12.28 kB / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.1085, allocations: 111.7 kB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.1087, allocations: 215.6 kB / 443.3 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.1088, allocations: 4 kB / 443.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-05/0.1089, allocations: 20 kB / 443.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.829e-05/0.109, allocations: 87.61 kB / 443.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.997e-05/0.109, allocations: 103 kB / 443.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.1093, allocations: 239 kB / 443.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1093, allocations: 0 / 443.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1093, allocations: 0 / 443.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.1093, allocations: 0 / 443.7 MB, free: 3.609 MB / 318.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.0007043/0.11, allocations: 0.6336 MB / 444.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.1101, allocations: 11.89 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.1101, allocations: 30.75 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.52e-05/0.1102, allocations: 44.38 kB / 444.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.1104, allocations: 296.1 kB / 444.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1105, allocations: 384 / 444.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.1105, allocations: 8.375 kB / 444.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.1106, allocations: 49.56 kB / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1106, allocations: 0 / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.1106, allocations: 3.984 kB / 444.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1107, allocations: 8 kB / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.415e-05/0.1107, allocations: 19.98 kB / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.1111, allocations: 368.8 kB / 445.2 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.137e-05/0.1112, allocations: 34.5 kB / 445.2 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.1112, allocations: 12.92 kB / 445.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.1113, allocations: 7.984 kB / 445.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.1113, allocations: 30.56 kB / 445.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1113, allocations: 0 / 445.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002213/0.1115, allocations: 93.12 kB / 445.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.1115, allocations: 59.34 kB / 445.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005446/0.1121, allocations: 0.8613 MB / 446.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.1121, allocations: 25.83 kB / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1122, allocations: 232 kB / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.1122, allocations: 11.89 kB / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.1123, allocations: 13.66 kB / 446.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.1124, allocations: 362.7 kB / 446.9 MB, free: 204 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.666e-05/0.1124, allocations: 11.98 kB / 446.9 MB, free: 192 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.1124, allocations: 4 kB / 446.9 MB, free: 188 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.963e-05/0.1125, allocations: 28.91 kB / 447 MB, free: 156 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1125, allocations: 0 / 447 MB, free: 156 kB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000105/0.1126, allocations: 89.16 kB / 447 MB, free: 60 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1126, allocations: 4 kB / 447 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1126, allocations: 4 kB / 447 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1127, allocations: 0 / 447 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.1127, allocations: 7.984 kB / 447.1 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1127, allocations: 4 kB / 447.1 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.1128, allocations: 7.938 kB / 447.1 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.1128, allocations: 0 / 447.1 MB, free: 32 kB / 318.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.0001962/0.113, allocations: 221.6 kB / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.1131, allocations: 39.53 kB / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.1133, allocations: 96.64 kB / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1133, allocations: 0 / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1133, allocations: 0 / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1133, allocations: 7.984 kB / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.1135, allocations: 289.5 kB / 447.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1136, allocations: 0 / 447.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.092e-05/0.1136, allocations: 7.938 kB / 447.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1136, allocations: 0 / 447.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.1136, allocations: 0 / 447.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1136, allocations: 0 / 447.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.1136, allocations: 7.984 kB / 447.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.1139, allocations: 186.9 kB / 447.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/0.114, allocations: 108.6 kB / 448 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.114, allocations: 3.984 kB / 448 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.1141, allocations: 4 kB / 448 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.1141, allocations: 0 / 448 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.1141, allocations: 0 / 448 MB, free: 14.97 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006329/0.1147, allocations: 0.655 MB / 448.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1147, allocations: 3.938 kB / 448.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.115, allocations: 19.94 kB / 448.7 MB, free: 14.3 MB / 334.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.001492/0.1165, allocations: 0.9773 MB / 449.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.1166, allocations: 19.98 kB / 449.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1166, allocations: 0 / 449.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.354e-05/0.1167, allocations: 19.92 kB / 449.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.1171, allocations: 20 kB / 449.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.121, allocations: 3.2 MB / 452.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.1215, allocations: 0.818 MB / 453.7 MB, free: 9.172 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.912e-05/0.1216, allocations: 8.062 kB / 453.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.1217, allocations: 111.4 kB / 453.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1218, allocations: 0 / 453.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.1402, allocations: 5.463 MB / 459.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.1405, allocations: 234 kB / 459.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.144, allocations: 7.875 kB / 459.6 MB, free: 3.324 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches