Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",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.001356/0.001356, allocations: 108.8 kB / 17.33 MB, free: 6 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.001593/0.001593, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2125/0.2125, allocations: 44.17 MB / 336.2 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 65.77 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1072, allocations: 60.83 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003071/0.1103, allocations: 1.641 MB / 470.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007318/0.1111, allocations: 399.3 kB / 470.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.411e-05/0.1111, allocations: 0 / 470.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.1114, allocations: 75.72 kB / 470.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.1117, allocations: 59.86 kB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.1119, allocations: 75.84 kB / 471.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.1121, allocations: 71.89 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.428e-05/0.1122, allocations: 20.17 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.476e-05/0.1122, allocations: 39.78 kB / 471.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.535e-05/0.1123, allocations: 51.88 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1123, allocations: 0 / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1125, allocations: 47.92 kB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.1125, allocations: 19.97 kB / 471.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.1125, allocations: 31.75 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.1127, allocations: 99.92 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1127, allocations: 4 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1127, allocations: 0 / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.1127, allocations: 0 / 471.4 MB, free: 12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004068/0.1132, allocations: 407 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1132, allocations: 12.03 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.1132, allocations: 30.75 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.1133, allocations: 12.78 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.1134, allocations: 196.1 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-06/0.1135, allocations: 384 / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.1135, allocations: 16.03 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.1136, allocations: 49.69 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1136, allocations: 3.938 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1136, allocations: 0 / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.1136, allocations: 0 / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.958e-05/0.1137, allocations: 27.97 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.1141, allocations: 296.8 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.963e-05/0.1142, allocations: 46.5 kB / 472.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/0.1142, allocations: 16.95 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1142, allocations: 7.984 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.1143, allocations: 30.56 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1143, allocations: 0 / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007559/0.115, allocations: 213.1 kB / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.1151, allocations: 59.34 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.1153, allocations: 206.2 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1153, allocations: 29.7 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.1154, allocations: 108 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.1154, allocations: 23.66 kB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.1154, allocations: 17.72 kB / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1156, allocations: 322.8 kB / 473.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.1156, allocations: 31.97 kB / 473.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.1157, allocations: 24.05 kB / 473.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.1159, allocations: 68.77 kB / 473.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1159, allocations: 0 / 473.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001833/0.116, allocations: 105.6 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1161, allocations: 10.5 kB / 473.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1161, allocations: 4 kB / 473.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.1161, allocations: 432 / 473.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.1162, allocations: 15.98 kB / 473.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1162, allocations: 7.938 kB / 473.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.648e-05/0.1162, allocations: 3.984 kB / 473.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1163, allocations: 8 kB / 473.8 MB, free: 9.402 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 (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 8.05e-05/0.1164, allocations: 129.8 kB / 473.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.1164, allocations: 7.906 kB / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.1166, allocations: 114.3 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1167, allocations: 0 / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1167, allocations: 3.938 kB / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1167, allocations: 0 / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.1172, allocations: 407.2 kB / 474.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1172, allocations: 7.875 kB / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.976e-05/0.1172, allocations: 27.92 kB / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1173, allocations: 0 / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.1173, allocations: 0 / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1173, allocations: 0 / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1173, allocations: 8.031 kB / 474.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.1175, allocations: 196.3 kB / 474.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.1176, allocations: 88.95 kB / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.1176, allocations: 4 kB / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.1176, allocations: 7.984 kB / 474.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.1177, allocations: 8 kB / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1177, allocations: 7.938 kB / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.1178, allocations: 155.2 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1178, allocations: 0 / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000239/0.1181, allocations: 23.98 kB / 475 MB, free: 8.117 MB / 350.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 (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.001326/0.1194, allocations: 1.094 MB / 476.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.1196, allocations: 71.89 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1196, allocations: 0 / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.05e-05/0.1197, allocations: 35.92 kB / 476.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1201, allocations: 19.98 kB / 476.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.1217, allocations: 1.652 MB / 477.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.1221, allocations: 0.7041 MB / 478.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.501e-05/0.1221, allocations: 12.98 kB / 478.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.1222, allocations: 31.42 kB / 478.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of SimCode: time 1.443e-06/0.1222, allocations: 0 / 478.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.1351, allocations: 2.845 MB / 481.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.1354, allocations: 234.5 kB / 481.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.042, allocations: 0 / 481.7 MB, free: 1.531 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches