Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",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.001667/0.001667, allocations: 103.6 kB / 16.27 MB, free: 5.93 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.00176/0.00176, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.608/1.608, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2246/0.2246, allocations: 43.53 MB / 313.9 MB, free: 0.5273 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.001428/0.001428, allocations: 65.23 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 57.8 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.002702/0.1082, allocations: 1.543 MB / 442.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005307/0.1088, allocations: 323.5 kB / 442.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/0.1088, allocations: 0 / 442.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.1091, allocations: 31.84 kB / 442.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.1093, allocations: 31.8 kB / 442.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1095, allocations: 99.73 kB / 442.6 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.1096, allocations: 47.91 kB / 442.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/0.1097, allocations: 12 kB / 442.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.783e-05/0.1098, allocations: 23.91 kB / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.595e-05/0.1098, allocations: 19.88 kB / 442.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1098, allocations: 0 / 442.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.037e-05/0.1099, allocations: 35.92 kB / 442.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.922e-05/0.11, allocations: 15.92 kB / 442.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.11, allocations: 23.86 kB / 442.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.1101, allocations: 67.8 kB / 442.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1101, allocations: 0 / 442.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1101, allocations: 0 / 442.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1101, allocations: 0 / 442.9 MB, free: 4.523 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.0003263/0.1105, allocations: 375.2 kB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1105, allocations: 15.89 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.1105, allocations: 30.75 kB / 443.3 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.1106, allocations: 16.78 kB / 443.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.1107, allocations: 188.2 kB / 443.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.1107, allocations: 384 / 443.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.1108, allocations: 4.375 kB / 443.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.1109, allocations: 49.62 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1109, allocations: 0 / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1109, allocations: 0 / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1109, allocations: 4 kB / 443.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.61e-05/0.111, allocations: 23.98 kB / 443.6 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.1113, allocations: 292.7 kB / 443.9 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.1115, allocations: 46.56 kB / 443.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.422e-05/0.1115, allocations: 16.94 kB / 443.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.1115, allocations: 0 / 443.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.1116, allocations: 34.56 kB / 444 MB, free: 3.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.1116, allocations: 0 / 444 MB, free: 3.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004726/0.112, allocations: 149.3 kB / 444.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.1121, allocations: 55.39 kB / 444.2 MB, free: 3.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.1122, allocations: 145.4 kB / 444.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.1122, allocations: 29.7 kB / 444.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.1122, allocations: 96.05 kB / 444.4 MB, free: 2.773 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.1123, allocations: 23.73 kB / 444.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.1123, allocations: 13.72 kB / 444.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.1123, allocations: 322.8 kB / 444.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.255e-05/0.1124, allocations: 19.98 kB / 444.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.502e-05/0.1125, allocations: 27.92 kB / 444.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.1126, allocations: 52.83 kB / 444.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1126, allocations: 0 / 444.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001486/0.1127, allocations: 85.56 kB / 445 MB, free: 2.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.1128, allocations: 8 kB / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1128, allocations: 0 / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1128, allocations: 0 / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/0.1128, allocations: 8 kB / 445 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1129, allocations: 3.984 kB / 445 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.432e-05/0.1129, allocations: 11.94 kB / 445 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1129, allocations: 11.88 kB / 445 MB, free: 2.172 MB / 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 (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 5.661e-05/0.113, allocations: 117.8 kB / 445.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.113, allocations: 4 kB / 445.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.1132, allocations: 102.1 kB / 445.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1132, allocations: 0 / 445.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1132, allocations: 4 kB / 445.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1132, allocations: 4 kB / 445.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.1136, allocations: 354.4 kB / 445.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1136, allocations: 0 / 445.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.695e-05/0.1136, allocations: 8 kB / 445.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1136, allocations: 0 / 445.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1136, allocations: 3.984 kB / 445.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1136, allocations: 3.938 kB / 445.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1136, allocations: 4 kB / 445.6 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.1138, allocations: 183.4 kB / 445.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.1138, allocations: 85.09 kB / 445.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1139, allocations: 0 / 445.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.1139, allocations: 7.938 kB / 445.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.114, allocations: 3.984 kB / 445.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.114, allocations: 8 kB / 445.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.963e-05/0.114, allocations: 111.3 kB / 446 MB, free: 1.086 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.114, allocations: 0 / 446 MB, free: 1.086 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000226/0.1143, allocations: 8 kB / 446 MB, free: 1.078 MB / 318.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.001032/0.1153, allocations: 1.014 MB / 447 MB, free: 128 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.1155, allocations: 59.89 kB / 447.1 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1155, allocations: 0 / 447.1 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.677e-05/0.1156, allocations: 23.98 kB / 447.1 MB, free: 44 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.1159, allocations: 29.53 kB / 447.1 MB, free: 20 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.1175, allocations: 1.434 MB / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.1178, allocations: 0.6885 MB / 449.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.385e-05/0.1178, allocations: 16.23 kB / 449.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.1179, allocations: 31.36 kB / 449.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1179, allocations: 0 / 449.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.1375, allocations: 2.405 MB / 451.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.092, allocations: 3.984 kB / 451.7 MB, free: 11.32 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches