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.0009865/0.0009867, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 203.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.7 MB / 246.8 MB, free: 9.695 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1988/0.1988, allocations: 46.18 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002296/0.0002297, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1023, allocations: 63.56 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001982/0.1043, allocations: 1.365 MB / 484.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1054, allocations: 0.5301 MB / 485.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.755e-05/0.1055, allocations: 0 / 485.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.1058, allocations: 95.8 kB / 485.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.1061, allocations: 91.7 kB / 485.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.1064, allocations: 83.86 kB / 485.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.1066, allocations: 99.73 kB / 485.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.617e-05/0.1067, allocations: 16.27 kB / 485.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.475e-05/0.1067, allocations: 39.83 kB / 485.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1068, allocations: 63.81 kB / 485.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.1069, allocations: 0 / 485.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-05/0.107, allocations: 43.98 kB / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.231e-05/0.107, allocations: 19.92 kB / 485.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.1071, allocations: 69.31 kB / 485.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.1073, allocations: 119.5 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1073, allocations: 0 / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1073, allocations: 0 / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1073, allocations: 3.938 kB / 485.8 MB, free: 1.398 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.0004807/0.1078, allocations: 419 kB / 486.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1078, allocations: 8.875 kB / 486.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.311e-05/0.1079, allocations: 34.75 kB / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.1079, allocations: 16.75 kB / 486.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.1081, allocations: 208.5 kB / 486.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1081, allocations: 12.3 kB / 486.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.1081, allocations: 4.375 kB / 486.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1083, allocations: 69.61 kB / 486.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1083, allocations: 4 kB / 486.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1083, allocations: 4 kB / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1083, allocations: 0 / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.1084, allocations: 43.97 kB / 486.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.1088, allocations: 340.5 kB / 486.9 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.109, allocations: 62.56 kB / 487 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.317e-05/0.109, allocations: 24.84 kB / 487 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1091, allocations: 4 kB / 487 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.1091, allocations: 30.56 kB / 487.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.485e-06/0.1091, allocations: 3.984 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.00107/0.1102, allocations: 360.5 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.1102, allocations: 51.41 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.1105, allocations: 239.5 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.1105, allocations: 25.7 kB / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.1105, allocations: 112.1 kB / 487.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.1106, allocations: 43.36 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.1106, allocations: 21.7 kB / 487.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1107, allocations: 326.8 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.454e-05/0.1108, allocations: 39.98 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.582e-05/0.1109, allocations: 43.97 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.1111, allocations: 92.83 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1111, allocations: 0 / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002598/0.1114, allocations: 149.4 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1114, allocations: 8 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1114, allocations: 0 / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1114, allocations: 3.938 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1116, allocations: 31.98 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1116, allocations: 0 / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.904e-05/0.1116, allocations: 7.984 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1117, allocations: 4 kB / 488.6 MB, free: 14.37 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 0.0001078/0.1118, allocations: 145.8 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.1118, allocations: 23.75 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.1122, allocations: 171.3 kB / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1122, allocations: 3.938 kB / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1122, allocations: 8 kB / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1122, allocations: 0 / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.1128, allocations: 499 kB / 489.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1128, allocations: 0 / 489.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.839e-05/0.1129, allocations: 23.98 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1129, allocations: 4 kB / 489.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1129, allocations: 0 / 489.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1129, allocations: 0 / 489.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1129, allocations: 4 kB / 489.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.1132, allocations: 256.1 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.1133, allocations: 92.95 kB / 489.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.1133, allocations: 4 kB / 489.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.688e-05/0.1134, allocations: 7.984 kB / 489.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.1134, allocations: 15.98 kB / 489.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1134, allocations: 8 kB / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.1136, allocations: 185.2 kB / 490 MB, free: 12.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1136, allocations: 0 / 490 MB, free: 12.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.1138, allocations: 23.91 kB / 490 MB, free: 12.82 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.001357/0.1152, allocations: 1.125 MB / 491.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.1154, allocations: 103.9 kB / 491.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1154, allocations: 0 / 491.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.1156, allocations: 59.97 kB / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.1159, allocations: 19.62 kB / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.1178, allocations: 1.912 MB / 493.3 MB, free: 9.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.1181, allocations: 0.7157 MB / 494 MB, free: 8.922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.938e-05/0.1181, allocations: 20.53 kB / 494 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.1182, allocations: 47.42 kB / 494 MB, free: 8.852 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1182, allocations: 3.938 kB / 494 MB, free: 8.848 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0114/0.1296, allocations: 3.064 MB / 497.1 MB, free: 5.895 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/0.1299, allocations: 233.8 kB / 497.3 MB, free: 5.637 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/1.887, allocations: 0 / 497.3 MB, free: 5.637 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