Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.001211, 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.001348/0.001348, 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.238/1.238, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1955/0.1955, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 82.92 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1099, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002788/0.1127, allocations: 1.614 MB / 481.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1143, allocations: 1.16 MB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.1143, allocations: 3.938 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.1145, allocations: 19.84 kB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.1148, allocations: 87.61 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.1151, allocations: 95.08 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.1152, allocations: 71.81 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1153, allocations: 24 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.018e-05/0.1154, allocations: 27.86 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.1156, allocations: 43.83 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1156, allocations: 4 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.1158, allocations: 95.94 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.1158, allocations: 23.86 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.1159, allocations: 31.8 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.1162, allocations: 143.9 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1162, allocations: 4 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1162, allocations: 0 / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1162, allocations: 0 / 483.6 MB, free: 1.746 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005325/0.1167, allocations: 407.1 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1168, allocations: 8.031 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.1168, allocations: 34.75 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.1169, allocations: 8.844 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.1171, allocations: 202.8 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.1171, allocations: 384 / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.1171, allocations: 12.28 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1173, allocations: 71.33 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1173, allocations: 11.92 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1173, allocations: 3.938 kB / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1173, allocations: 0 / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.1175, allocations: 35.97 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.1178, allocations: 308.7 kB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.1179, allocations: 46.56 kB / 484.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.939e-05/0.118, allocations: 20.97 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.118, allocations: 4 kB / 484.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.118, allocations: 38.5 kB / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.118, allocations: 0 / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005631/0.1186, allocations: 169.3 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.1186, allocations: 85.05 kB / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.1188, allocations: 149.8 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1188, allocations: 33.7 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.1189, allocations: 96.12 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.1189, allocations: 31.55 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.1189, allocations: 21.72 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.368e-05/0.119, allocations: 322.8 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.1191, allocations: 19.98 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.973e-05/0.1192, allocations: 37.7 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.1193, allocations: 64.86 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1194, allocations: 0 / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001919/0.1196, allocations: 97.5 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1196, allocations: 8 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1196, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1196, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1197, allocations: 20.36 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1197, allocations: 7.938 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.1198, allocations: 11.91 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.1198, allocations: 7.984 kB / 485.9 MB, free: 15.15 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 7.875e-05/0.1199, allocations: 113.8 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.1199, allocations: 7.906 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.1202, allocations: 126.5 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1202, allocations: 8 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1202, allocations: 3.938 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1202, allocations: 3.938 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.1206, allocations: 382.5 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1207, allocations: 3.938 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.419e-05/0.1207, allocations: 19.98 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1207, allocations: 3.938 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.1207, allocations: 8 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1207, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1208, allocations: 4 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.121, allocations: 191.4 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.121, allocations: 92.94 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.121, allocations: 0 / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.1211, allocations: 8 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.1212, allocations: 11.98 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1212, allocations: 0 / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.027e-05/0.1213, allocations: 125.4 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1213, allocations: 0 / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1215, allocations: 36 kB / 487 MB, free: 13.92 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 (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.001331/0.1229, allocations: 1.118 MB / 488.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.1231, allocations: 67.89 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1231, allocations: 4 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.861e-05/0.1232, allocations: 27.98 kB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.1235, allocations: 15.98 kB / 488.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.125, allocations: 1.516 MB / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.1252, allocations: 0.6924 MB / 490.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.952e-05/0.1252, allocations: 24.7 kB / 490.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.1253, allocations: 35.42 kB / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1253, allocations: 0 / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4517/0.577, allocations: 3.305 MB / 493.8 MB, free: 7.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.627, allocations: 9 kB / 493.9 MB, free: 7.199 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches