Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, 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.001192/0.001192, 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.322/1.322, 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.2052/0.2052, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 81.98 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0964/0.09801, allocations: 62.44 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002913/0.101, allocations: 1.619 MB / 481.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009821/0.102, allocations: 0.5611 MB / 482.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.102, allocations: 0 / 482.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005213/0.1026, allocations: 455.1 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004349/0.103, allocations: 291.3 kB / 483 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.1035, allocations: 174.9 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.1037, allocations: 171.6 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.1038, allocations: 8 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1039, allocations: 111.8 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.1041, allocations: 207.6 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1041, allocations: 0 / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.1042, allocations: 28 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.1043, allocations: 83.67 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.982e-05/0.1044, allocations: 106.9 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.1047, allocations: 251 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1047, allocations: 0 / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1047, allocations: 0 / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1047, allocations: 0 / 484.2 MB, free: 1.133 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.0006562/0.1054, allocations: 0.6455 MB / 484.8 MB, free: 448 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1054, allocations: 8.031 kB / 484.8 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.1054, allocations: 34.75 kB / 484.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.151e-05/0.1055, allocations: 44.38 kB / 484.9 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.1058, allocations: 296.2 kB / 485.2 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.1059, allocations: 4.375 kB / 485.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.1059, allocations: 4.375 kB / 485.2 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1061, allocations: 57.62 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1061, allocations: 4 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1061, allocations: 0 / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1061, allocations: 0 / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.617e-05/0.1062, allocations: 19.98 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.1067, allocations: 400.6 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.109e-05/0.1068, allocations: 34.5 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.1068, allocations: 16.92 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.1068, allocations: 3.984 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.1069, allocations: 30.56 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1069, allocations: 4 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002638/0.1071, allocations: 97.2 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.1072, allocations: 55.34 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007608/0.108, allocations: 0.8815 MB / 486.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.108, allocations: 25.7 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.1081, allocations: 231.9 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.1082, allocations: 4 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.1082, allocations: 13.72 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1083, allocations: 366.9 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.1084, allocations: 11.98 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-05/0.1084, allocations: 11.98 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.222e-05/0.1085, allocations: 28.84 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1085, allocations: 3.938 kB / 487.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001505/0.1087, allocations: 93.12 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1087, allocations: 8.094 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1087, allocations: 3.938 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1087, allocations: 0 / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.1088, allocations: 7.984 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1088, allocations: 0 / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.28e-05/0.1089, allocations: 8 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1089, allocations: 0 / 487.6 MB, free: 13.48 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.0001612/0.1091, allocations: 213.7 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.1091, allocations: 43.44 kB / 487.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.1093, allocations: 112.7 kB / 487.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1093, allocations: 0 / 487.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1093, allocations: 0 / 487.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1094, allocations: 3.984 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.1096, allocations: 289.5 kB / 488.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1096, allocations: 0 / 488.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.1097, allocations: 7.938 kB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1097, allocations: 4 kB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1097, allocations: 8.016 kB / 488.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1097, allocations: 0 / 488.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1097, allocations: 0 / 488.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.1099, allocations: 190.9 kB / 488.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.759e-05/0.11, allocations: 112.5 kB / 488.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.11, allocations: 0 / 488.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.1101, allocations: 4 kB / 488.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.1101, allocations: 4.031 kB / 488.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1101, allocations: 0 / 488.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005635/0.1107, allocations: 0.6628 MB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1107, allocations: 0 / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1109, allocations: 31.92 kB / 489.2 MB, free: 11.71 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.001142/0.1121, allocations: 0.9596 MB / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.1122, allocations: 23.98 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1123, allocations: 4.062 kB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.46e-05/0.1123, allocations: 15.92 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.0003794/0.1127, allocations: 35.91 kB / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.1162, allocations: 3.214 MB / 493.5 MB, free: 7.461 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.1166, allocations: 0.8299 MB / 494.3 MB, free: 6.605 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.005e-05/0.1167, allocations: 16.05 kB / 494.3 MB, free: 6.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.1168, allocations: 111.4 kB / 494.4 MB, free: 6.48 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1168, allocations: 0 / 494.4 MB, free: 6.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.1381, allocations: 5.65 MB / 0.4884 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.439/7.577, allocations: 5.016 kB / 0.4884 GB, free: 0.875 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches