Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001229/0.00123, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.186/0.186, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 78.53 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1119, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002857/0.1148, allocations: 1.596 MB / 481.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008794/0.1157, allocations: 0.5299 MB / 482.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.1158, allocations: 4 kB / 482.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.116, allocations: 31.73 kB / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.1162, allocations: 83.67 kB / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.1165, allocations: 87.7 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1166, allocations: 59.89 kB / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.864e-05/0.1167, allocations: 19.92 kB / 482.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.186e-05/0.1168, allocations: 19.88 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.68e-05/0.1168, allocations: 23.86 kB / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.1169, allocations: 0 / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.339e-05/0.117, allocations: 39.97 kB / 482.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.117, allocations: 8 kB / 482.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.1171, allocations: 27.73 kB / 482.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.1172, allocations: 84.06 kB / 482.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1172, allocations: 0 / 482.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1172, allocations: 4 kB / 482.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1172, allocations: 4 kB / 482.7 MB, free: 2.531 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.0003912/0.1176, allocations: 394.9 kB / 483.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1177, allocations: 12.03 kB / 483.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.1177, allocations: 34.73 kB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.1177, allocations: 8.844 kB / 483.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.1179, allocations: 191.7 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1179, allocations: 8.125 kB / 483.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.1179, allocations: 4 kB / 483.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.1181, allocations: 53.67 kB / 483.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1181, allocations: 0 / 483.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.1181, allocations: 0 / 483.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1181, allocations: 0 / 483.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.371e-05/0.1182, allocations: 23.92 kB / 483.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.1185, allocations: 272.9 kB / 483.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.1187, allocations: 54.55 kB / 483.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.1187, allocations: 8.859 kB / 483.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1188, allocations: 7.984 kB / 483.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1188, allocations: 34.5 kB / 483.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1188, allocations: 0 / 483.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005111/0.1193, allocations: 153.3 kB / 484 MB, free: 1.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.1194, allocations: 51.41 kB / 484 MB, free: 1.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.1195, allocations: 183.8 kB / 484.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.1195, allocations: 25.7 kB / 484.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.1196, allocations: 104 kB / 484.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.1196, allocations: 11.75 kB / 484.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.1197, allocations: 17.72 kB / 484.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1198, allocations: 326.8 kB / 484.7 MB, free: 376 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.603e-05/0.1198, allocations: 19.98 kB / 484.7 MB, free: 356 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/0.1199, allocations: 20.05 kB / 484.7 MB, free: 336 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.12, allocations: 44.83 kB / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.12, allocations: 0 / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001636/0.1202, allocations: 85.52 kB / 484.8 MB, free: 196 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.1202, allocations: 8 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1202, allocations: 4 kB / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1203, allocations: 7.922 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.923e-05/0.1203, allocations: 8 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1203, allocations: 3.938 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.931e-05/0.1204, allocations: 7.984 kB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.1204, allocations: 0 / 484.9 MB, free: 156 kB / 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 6.607e-05/0.1205, allocations: 117.8 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.1205, allocations: 11.91 kB / 485 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.1207, allocations: 97.89 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1207, allocations: 0 / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1207, allocations: 7.938 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1208, allocations: 0 / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.1211, allocations: 342.6 kB / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1211, allocations: 4 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.198e-05/0.1212, allocations: 12.31 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1212, allocations: 3.938 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1212, allocations: 0 / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1212, allocations: 4 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1212, allocations: 7.922 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.1214, allocations: 179.3 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.1215, allocations: 85.02 kB / 485.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1215, allocations: 3.938 kB / 485.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.455e-05/0.1215, allocations: 7.984 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.1216, allocations: 4 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.1216, allocations: 4 kB / 485.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.053e-05/0.1217, allocations: 138.5 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1217, allocations: 0 / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.1219, allocations: 12 kB / 485.9 MB, free: 15.03 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.001159/0.1231, allocations: 1.02 MB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1233, allocations: 51.95 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1233, allocations: 0 / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.359e-05/0.1234, allocations: 31.92 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.1237, allocations: 11.98 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.1251, allocations: 1.486 MB / 488.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.1253, allocations: 0.6963 MB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.808e-05/0.1254, allocations: 8.062 kB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.1254, allocations: 27.42 kB / 489.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1254, allocations: 4 kB / 489.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8888/1.014, allocations: 2.564 MB / 491.8 MB, free: 9.199 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.256/9.27, allocations: 20.69 kB / 491.8 MB, free: 9.184 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches