Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001089/0.001089, 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 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.208/0.208, allocations: 44.19 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 67.73 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1055, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002923/0.1084, allocations: 1.568 MB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006901/0.1091, allocations: 399.3 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.1092, allocations: 0 / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.1094, allocations: 27.84 kB / 471.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.1096, allocations: 39.84 kB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.1099, allocations: 115.4 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.11, allocations: 51.84 kB / 471.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.026e-05/0.1101, allocations: 23.91 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.1101, allocations: 15.88 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.1102, allocations: 23.86 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.1102, allocations: 0 / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.973e-05/0.1103, allocations: 35.98 kB / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.1103, allocations: 15.92 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.1104, allocations: 19.88 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.1105, allocations: 76.06 kB / 471.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1105, allocations: 0 / 471.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1105, allocations: 0 / 471.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.1106, allocations: 0 / 471.7 MB, free: 11.86 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.0004054/0.111, allocations: 383.1 kB / 472.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.111, allocations: 8.031 kB / 472.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.3e-05/0.111, allocations: 42.67 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.1111, allocations: 8.844 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.1112, allocations: 188.3 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.1113, allocations: 4.359 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.1113, allocations: 4.375 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1114, allocations: 53.61 kB / 472.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1114, allocations: 0 / 472.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.1114, allocations: 0 / 472.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1114, allocations: 0 / 472.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.352e-05/0.1115, allocations: 23.98 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.1119, allocations: 288.8 kB / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.1121, allocations: 46.55 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.1121, allocations: 12.86 kB / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.1121, allocations: 4.078 kB / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.1122, allocations: 34.56 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1122, allocations: 0 / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005002/0.1127, allocations: 145.3 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.1127, allocations: 51.41 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1128, allocations: 164.4 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.1129, allocations: 29.64 kB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/0.1129, allocations: 100.1 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.1129, allocations: 15.75 kB / 473.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.113, allocations: 13.72 kB / 473.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.1131, allocations: 326.8 kB / 473.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.1131, allocations: 23.92 kB / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.768e-05/0.1132, allocations: 19.98 kB / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.1133, allocations: 52.83 kB / 473.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1133, allocations: 0 / 473.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001855/0.1135, allocations: 93.75 kB / 473.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1136, allocations: 7.938 kB / 473.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1136, allocations: 0 / 473.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1136, allocations: 0 / 473.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.1136, allocations: 19.92 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1137, allocations: 0 / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.796e-05/0.1137, allocations: 11.94 kB / 473.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.1137, allocations: 0 / 473.9 MB, free: 9.492 MB / 350.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 7.712e-05/0.1138, allocations: 121.8 kB / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.1138, allocations: 3.906 kB / 474 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.114, allocations: 93.97 kB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1141, allocations: 0 / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1141, allocations: 0 / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1141, allocations: 11.92 kB / 474.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.1145, allocations: 350.5 kB / 474.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1145, allocations: 0 / 474.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.1145, allocations: 11.98 kB / 474.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1145, allocations: 0 / 474.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1145, allocations: 7.938 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1146, allocations: 4 kB / 474.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1146, allocations: 0 / 474.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.1148, allocations: 183.4 kB / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.1148, allocations: 85.02 kB / 474.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.1148, allocations: 4.188 kB / 474.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.355e-05/0.1149, allocations: 8.266 kB / 474.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.1149, allocations: 8 kB / 474.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.1149, allocations: 4 kB / 474.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.614e-05/0.115, allocations: 121.4 kB / 474.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.115, allocations: 0 / 474.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.1153, allocations: 16 kB / 474.9 MB, free: 8.375 MB / 350.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.00118/0.1165, allocations: 1.022 MB / 475.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.1167, allocations: 51.89 kB / 476 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1167, allocations: 0 / 476 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.593e-05/0.1167, allocations: 36.05 kB / 476 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.1171, allocations: 12.11 kB / 476 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.1184, allocations: 1.448 MB / 477.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.1186, allocations: 0.694 MB / 478.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.855e-05/0.1187, allocations: 16.05 kB / 478.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.1187, allocations: 27.42 kB / 478.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1187, allocations: 0 / 478.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2333/0.3521, allocations: 2.471 MB / 480.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.119, allocations: 7.922 kB / 480.7 MB, free: 2.688 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches