Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001407/0.001407, 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.001835/0.001835, 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.298/1.298, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1918/0.1918, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 77.81 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0973/0.09876, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003173/0.102, allocations: 1.651 MB / 481.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008935/0.1029, allocations: 0.5494 MB / 482.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/0.103, allocations: 0 / 482.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.1033, allocations: 95.67 kB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.1037, allocations: 111.6 kB / 482.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.1039, allocations: 95.69 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1041, allocations: 95.8 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.1042, allocations: 24.28 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.394e-05/0.1043, allocations: 51.77 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1044, allocations: 59.81 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1044, allocations: 4 kB / 482.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.132e-05/0.1045, allocations: 43.98 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.1046, allocations: 27.92 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.1046, allocations: 43.66 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.1048, allocations: 135.5 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1048, allocations: 0 / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1048, allocations: 0 / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1048, allocations: 0 / 483.1 MB, free: 2.215 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004505/0.1053, allocations: 430.8 kB / 483.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1053, allocations: 8.031 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.1054, allocations: 38.75 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.1054, allocations: 12.75 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.1056, allocations: 212 kB / 483.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.1056, allocations: 8.375 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1056, allocations: 4.375 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1058, allocations: 69.61 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1058, allocations: 0 / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1058, allocations: 7.984 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1058, allocations: 0 / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.106, allocations: 51.83 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.1063, allocations: 336.6 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.1065, allocations: 58.5 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.1065, allocations: 24.84 kB / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.1065, allocations: 0 / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.1066, allocations: 38.5 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1066, allocations: 4 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009688/0.1076, allocations: 313.4 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.1076, allocations: 51.41 kB / 484.7 MB, free: 400 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1078, allocations: 244.3 kB / 485 MB, free: 144 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1078, allocations: 25.7 kB / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.1079, allocations: 116 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.1079, allocations: 39.45 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.108, allocations: 29.7 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.1081, allocations: 322.8 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.25e-05/0.1082, allocations: 39.97 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.1083, allocations: 39.23 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.1085, allocations: 96.83 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1085, allocations: 4 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002385/0.1087, allocations: 133.5 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1087, allocations: 4 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1088, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1088, allocations: 11.92 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1089, allocations: 27.92 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1089, allocations: 4 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.109, allocations: 4.109 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.109, allocations: 7.938 kB / 485.9 MB, free: 15.22 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 (13): * Single equations (assignments): 13 * 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 8.952e-05/0.1091, allocations: 137.8 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.1091, allocations: 15.81 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.1094, allocations: 171 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1095, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1095, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1095, allocations: 3.984 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.11, allocations: 475 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.11, allocations: 4.031 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.723e-05/0.1101, allocations: 31.92 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1101, allocations: 0 / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1102, allocations: 7.984 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1102, allocations: 0 / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1102, allocations: 0 / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.1104, allocations: 247.6 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.1105, allocations: 88.92 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1105, allocations: 4 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/0.1106, allocations: 7.984 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.1106, allocations: 11.98 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.1107, allocations: 4 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1108, allocations: 177.2 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1108, allocations: 11.88 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1111, allocations: 28 kB / 487.2 MB, free: 13.72 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 (13): * Single equations (assignments): 13 * 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.001336/0.1124, allocations: 1.112 MB / 488.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002509/0.1127, allocations: 103.5 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1127, allocations: 0 / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.1128, allocations: 63.84 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1131, allocations: 24.25 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.115, allocations: 1.834 MB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.1153, allocations: 0.7197 MB / 491.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.788e-05/0.1154, allocations: 24.48 kB / 491.1 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.1155, allocations: 39.42 kB / 491.2 MB, free: 9.828 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1155, allocations: 0 / 491.2 MB, free: 9.828 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.929/2.044, allocations: 3.421 MB / 494.6 MB, free: 6.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/16.54, allocations: 8.953 kB / 494.6 MB, free: 6.457 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches