Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001169/0.001169, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002165/0.002165, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2099/0.2099, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 81.42 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1053, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002752/0.1081, allocations: 1.618 MB / 481.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009238/0.1091, allocations: 0.5533 MB / 482.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.1091, allocations: 0 / 482.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.1094, allocations: 75.7 kB / 482.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.1097, allocations: 99.64 kB / 482.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.11, allocations: 107.7 kB / 482.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.1101, allocations: 83.81 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.594e-05/0.1102, allocations: 19.98 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.362e-05/0.1103, allocations: 31.86 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.1104, allocations: 51.81 kB / 482.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.1104, allocations: 4 kB / 482.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.032e-05/0.1105, allocations: 43.98 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.1106, allocations: 19.92 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.1106, allocations: 39.73 kB / 482.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.1108, allocations: 99.98 kB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1108, allocations: 0 / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1108, allocations: 0 / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1108, allocations: 0 / 483 MB, free: 2.355 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.0004499/0.1113, allocations: 411 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1113, allocations: 8.031 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.1113, allocations: 30.75 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.1114, allocations: 20.69 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.1115, allocations: 196.1 kB / 483.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1116, allocations: 8.375 kB / 483.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1116, allocations: 384 / 483.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.1117, allocations: 61.59 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1118, allocations: 7.938 kB / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1118, allocations: 0 / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1118, allocations: 0 / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.692e-05/0.1119, allocations: 27.97 kB / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.1123, allocations: 304.7 kB / 484 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.1124, allocations: 46.5 kB / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.1125, allocations: 20.94 kB / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1125, allocations: 4 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.1125, allocations: 30.56 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1125, allocations: 4 kB / 484.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008987/0.1134, allocations: 233.1 kB / 484.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.1135, allocations: 59.38 kB / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.1137, allocations: 207.3 kB / 484.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.1137, allocations: 29.7 kB / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.1137, allocations: 100.1 kB / 484.7 MB, free: 376 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.1138, allocations: 35.55 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.1138, allocations: 17.72 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.114, allocations: 326.8 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.114, allocations: 31.97 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.846e-05/0.1141, allocations: 31.98 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.1143, allocations: 80.75 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1143, allocations: 0 / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002203/0.1145, allocations: 105.6 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1146, allocations: 4 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1146, allocations: 0 / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1146, allocations: 0 / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1147, allocations: 23.92 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1147, allocations: 11.94 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1148, allocations: 7.984 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1148, allocations: 4 kB / 485.4 MB, free: 15.68 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 9.465e-05/0.1149, allocations: 129.8 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.1149, allocations: 11.81 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.1152, allocations: 135.3 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1152, allocations: 4 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.1153, allocations: 3.938 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1153, allocations: 0 / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.1158, allocations: 415.3 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1158, allocations: 0 / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.395e-05/0.1159, allocations: 27.86 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1159, allocations: 4.031 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1159, allocations: 0 / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1159, allocations: 0 / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.1159, allocations: 7.984 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.1162, allocations: 212.2 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.1162, allocations: 84.95 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.1163, allocations: 12 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.1164, allocations: 7.984 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.1164, allocations: 0 / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1164, allocations: 7.938 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1165, allocations: 151.9 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1165, allocations: 4 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1168, allocations: 23.98 kB / 486.6 MB, free: 14.35 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.00154/0.1184, allocations: 1.091 MB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.1186, allocations: 83.86 kB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1186, allocations: 0 / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.27e-05/0.1187, allocations: 39.92 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.119, allocations: 23.86 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.1208, allocations: 1.674 MB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.1211, allocations: 0.7119 MB / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.903e-05/0.1211, allocations: 24.64 kB / 490.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.1212, allocations: 35.42 kB / 490.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1212, allocations: 0 / 490.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.1407, allocations: 3.011 MB / 493.3 MB, free: 7.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/7.688, allocations: 15.89 kB / 493.3 MB, free: 7.738 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches