Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001588/0.001588, allocations: 109.8 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001981/0.001981, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 46.1 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 76.8 kB / 417.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1044, allocations: 62.44 MB / 479.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003109/0.1076, allocations: 1.653 MB / 481.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009321/0.1085, allocations: 0.5261 MB / 481.8 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.1086, allocations: 3.938 kB / 481.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.1088, allocations: 23.92 kB / 481.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.1092, allocations: 63.77 kB / 481.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.1095, allocations: 83.83 kB / 481.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.1097, allocations: 55.91 kB / 482 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1099, allocations: 11.98 kB / 482 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.11, allocations: 31.8 kB / 482 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.816e-05/0.1101, allocations: 23.84 kB / 482.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.1101, allocations: 8 kB / 482.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.189e-05/0.1102, allocations: 28 kB / 482.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.1103, allocations: 11.98 kB / 482.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.1103, allocations: 27.8 kB / 482.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.1105, allocations: 76.06 kB / 482.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.1105, allocations: 0 / 482.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1105, allocations: 0 / 482.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1106, allocations: 0 / 482.2 MB, free: 2.91 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.0005714/0.1111, allocations: 391 kB / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/0.1112, allocations: 16.03 kB / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.137e-05/0.1113, allocations: 30.75 kB / 482.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.1113, allocations: 8.844 kB / 482.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.1115, allocations: 195 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1116, allocations: 4.375 kB / 482.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.1116, allocations: 4.375 kB / 482.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.1117, allocations: 45.62 kB / 482.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1118, allocations: 8 kB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.1118, allocations: 0 / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1118, allocations: 0 / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.465e-05/0.1119, allocations: 27.92 kB / 482.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.1123, allocations: 276.8 kB / 483.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.1125, allocations: 42.66 kB / 483.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.1125, allocations: 20.78 kB / 483.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1126, allocations: 4 kB / 483.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.1126, allocations: 30.56 kB / 483.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1126, allocations: 0 / 483.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005176/0.1131, allocations: 145.2 kB / 483.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.1132, allocations: 55.41 kB / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1133, allocations: 152.6 kB / 483.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.1133, allocations: 25.7 kB / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.1134, allocations: 100.1 kB / 483.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.1134, allocations: 7.812 kB / 483.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.1134, allocations: 21.7 kB / 483.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1136, allocations: 322.8 kB / 484.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.454e-05/0.1136, allocations: 15.98 kB / 484.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.616e-05/0.1137, allocations: 19.98 kB / 484.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.1138, allocations: 52.77 kB / 484.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1138, allocations: 0 / 484.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001828/0.114, allocations: 81.52 kB / 484.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.114, allocations: 4 kB / 484.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.114, allocations: 3.984 kB / 484.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1141, allocations: 0 / 484.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.454e-05/0.1141, allocations: 16 kB / 484.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1141, allocations: 0 / 484.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.1142, allocations: 15.92 kB / 484.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1142, allocations: 3.938 kB / 484.3 MB, free: 0.5781 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 9.394e-05/0.1143, allocations: 113.8 kB / 484.4 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.1144, allocations: 7.906 kB / 484.4 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.1146, allocations: 90.16 kB / 484.5 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1146, allocations: 7.984 kB / 484.5 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/0.1146, allocations: 4.062 kB / 484.5 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1146, allocations: 0 / 484.5 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.1151, allocations: 346.4 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1151, allocations: 4 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/0.1152, allocations: 11.98 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1152, allocations: 3.938 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1152, allocations: 4 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1152, allocations: 3.938 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1152, allocations: 7.984 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.1154, allocations: 175.7 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.1155, allocations: 77.11 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.1155, allocations: 0 / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.1156, allocations: 19.86 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.1156, allocations: 11.98 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.1157, allocations: 0 / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.574e-05/0.1158, allocations: 122 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1158, allocations: 0 / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.116, allocations: 11.91 kB / 485.3 MB, free: 15.47 MB / 366.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.001288/0.1173, allocations: 1.016 MB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.1175, allocations: 43.97 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1175, allocations: 0 / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.207e-05/0.1176, allocations: 27.92 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.1179, allocations: 15.92 kB / 486.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.1194, allocations: 1.445 MB / 487.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.1197, allocations: 0.6924 MB / 488.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.213e-05/0.1198, allocations: 11.98 kB / 488.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.1198, allocations: 27.38 kB / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1198, allocations: 0 / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01118/0.131, allocations: 2.364 MB / 491 MB, free: 9.926 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.1312, allocations: 243.1 kB / 491.2 MB, free: 9.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/1.975, allocations: 11.5 kB / 491.2 MB, free: 9.656 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches