Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001501/0.001501, 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.001852/0.001852, 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.349/1.349, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 74.19 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1105, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003028/0.1135, allocations: 1.613 MB / 481.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009686/0.1145, allocations: 0.5611 MB / 482.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.1146, allocations: 0 / 482.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005124/0.1151, allocations: 459.1 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00042/0.1156, allocations: 287.3 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.116, allocations: 167.3 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.1162, allocations: 171.6 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.494e-05/0.1163, allocations: 12 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1165, allocations: 111.8 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.1167, allocations: 207.6 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.1167, allocations: 0 / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.792e-05/0.1168, allocations: 31.92 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.943e-05/0.1169, allocations: 83.69 kB / 483.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.032e-05/0.117, allocations: 103 kB / 483.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.1173, allocations: 251 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1173, allocations: 0 / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1173, allocations: 0 / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1173, allocations: 0 / 484.1 MB, free: 1.145 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.0006984/0.118, allocations: 0.6455 MB / 484.8 MB, free: 460 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.118, allocations: 8.031 kB / 484.8 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.1181, allocations: 34.75 kB / 484.8 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.1181, allocations: 44.38 kB / 484.9 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.1184, allocations: 304.1 kB / 485.2 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1185, allocations: 8.375 kB / 485.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.1185, allocations: 384 / 485.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1186, allocations: 57.61 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.1186, allocations: 0 / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.1187, allocations: 0 / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1187, allocations: 4 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.1188, allocations: 19.98 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.1192, allocations: 400.6 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.958e-05/0.1193, allocations: 30.56 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.677e-05/0.1194, allocations: 12.92 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1194, allocations: 0 / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.1194, allocations: 38.55 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1195, allocations: 0 / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002737/0.1197, allocations: 105.1 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.1198, allocations: 55.34 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007897/0.1206, allocations: 0.8738 MB / 486.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1206, allocations: 29.7 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.1208, allocations: 227.9 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.1208, allocations: 3.984 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.1208, allocations: 17.72 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.121, allocations: 362.9 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.507e-05/0.121, allocations: 15.98 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.459e-05/0.1211, allocations: 7.984 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.083e-05/0.1212, allocations: 28.84 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1212, allocations: 3.938 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001477/0.1213, allocations: 97.06 kB / 487.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1213, allocations: 12.09 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.1214, allocations: 0 / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.1214, allocations: 0 / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.1214, allocations: 7.984 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1215, allocations: 0 / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.934e-05/0.1215, allocations: 4 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.1215, allocations: 0 / 487.6 MB, free: 13.49 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 (2): * Single equations (assignments): 2 * 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.0001581/0.1217, allocations: 213.7 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.184e-05/0.1217, allocations: 43.44 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.1219, allocations: 112.7 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.122, allocations: 3.984 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.122, allocations: 0 / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.122, allocations: 0 / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.1222, allocations: 289.5 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1223, allocations: 0 / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.1223, allocations: 4 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1223, allocations: 0 / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1223, allocations: 7.984 kB / 488.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.1223, allocations: 12.02 kB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/0.1223, allocations: 0 / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.1226, allocations: 190.9 kB / 488.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.662e-05/0.1227, allocations: 116.5 kB / 488.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.1227, allocations: 0 / 488.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.1228, allocations: 4 kB / 488.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.1228, allocations: 7.969 kB / 488.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1228, allocations: 0 / 488.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006072/0.1234, allocations: 0.6628 MB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1234, allocations: 0 / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1237, allocations: 23.94 kB / 489.2 MB, free: 11.72 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 (2): * Single equations (assignments): 2 * 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.001129/0.1248, allocations: 0.9623 MB / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.125, allocations: 27.92 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.125, allocations: 4.062 kB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/0.125, allocations: 11.98 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.1254, allocations: 26.3 kB / 490.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.1287, allocations: 3.214 MB / 493.5 MB, free: 7.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.1291, allocations: 0.8299 MB / 494.3 MB, free: 6.613 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.006e-05/0.1291, allocations: 11.98 kB / 494.3 MB, free: 6.602 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.1293, allocations: 111.4 kB / 494.4 MB, free: 6.492 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1293, allocations: 0 / 494.4 MB, free: 6.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.1525, allocations: 5.652 MB / 0.4884 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/7.617, allocations: 7.516 kB / 0.4884 GB, free: 0.8828 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches