Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",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.001526/0.001525, allocations: 103.5 kB / 17.63 MB, free: 5.344 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.001644/0.001644, allocations: 192 kB / 18.56 MB, free: 4.434 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.455/1.455, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2031/0.2031, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 59.69 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1165, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.00301/0.1196, allocations: 1.635 MB / 471 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000784/0.1204, allocations: 447.1 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.1205, allocations: 4 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.1207, allocations: 71.72 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.121, allocations: 59.8 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.1214, allocations: 179.2 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.1216, allocations: 91.73 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1217, allocations: 23.98 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.652e-05/0.1218, allocations: 35.89 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.257e-05/0.1219, allocations: 55.77 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.1219, allocations: 4 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.122, allocations: 43.98 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.1221, allocations: 27.91 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.1221, allocations: 39.73 kB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.1223, allocations: 119.8 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1223, allocations: 0 / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1223, allocations: 0 / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1224, allocations: 0 / 472.2 MB, free: 11.44 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005338/0.1229, allocations: 426.9 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.1229, allocations: 8.031 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.123, allocations: 38.75 kB / 472.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.123, allocations: 8.844 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.1232, allocations: 206.7 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1232, allocations: 8.375 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.1233, allocations: 4.281 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1234, allocations: 73.53 kB / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1235, allocations: 0 / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1235, allocations: 4 kB / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1235, allocations: 0 / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.1236, allocations: 39.97 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.1241, allocations: 328.7 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.1243, allocations: 58.55 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.452e-05/0.1244, allocations: 28.97 kB / 473.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.1244, allocations: 4 kB / 473.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.1244, allocations: 34.56 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.618e-06/0.1244, allocations: 96 / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00143/0.1259, allocations: 425 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.1259, allocations: 55.41 kB / 473.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.1261, allocations: 222.1 kB / 474.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1262, allocations: 25.7 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.1262, allocations: 104.1 kB / 474.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.1263, allocations: 43.33 kB / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.1263, allocations: 29.7 kB / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1264, allocations: 322.8 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1266, allocations: 51.97 kB / 474.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.1267, allocations: 55.95 kB / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.127, allocations: 120.8 kB / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.127, allocations: 3.938 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003381/0.1273, allocations: 169.5 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1274, allocations: 4 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1274, allocations: 3.984 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1274, allocations: 3.938 kB / 475 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1275, allocations: 31.98 kB / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1275, allocations: 0 / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-05/0.1276, allocations: 7.984 kB / 475.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1276, allocations: 4 kB / 475.1 MB, free: 8.309 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 (11): * Single equations (assignments): 11 * 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 9.638e-05/0.1277, allocations: 137.8 kB / 475.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.1278, allocations: 15.81 kB / 475.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/0.1282, allocations: 187.4 kB / 475.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1282, allocations: 3.938 kB / 475.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1282, allocations: 3.984 kB / 475.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1282, allocations: 0 / 475.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006502/0.1288, allocations: 0.5038 MB / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1289, allocations: 0 / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-05/0.129, allocations: 23.98 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.129, allocations: 8.062 kB / 475.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.129, allocations: 11.92 kB / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.129, allocations: 0 / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.129, allocations: 4 kB / 476 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.1294, allocations: 269 kB / 476.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.1294, allocations: 92.91 kB / 476.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1295, allocations: 8.172 kB / 476.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1296, allocations: 19.98 kB / 476.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.1296, allocations: 11.92 kB / 476.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1296, allocations: 4 kB / 476.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1298, allocations: 161.6 kB / 476.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1298, allocations: 3.938 kB / 476.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.13, allocations: 32 kB / 476.5 MB, free: 6.715 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001455/0.1315, allocations: 1.146 MB / 477.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000339/0.1318, allocations: 147.8 kB / 477.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1319, allocations: 0 / 477.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.132, allocations: 63.89 kB / 477.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.1324, allocations: 30.83 kB / 477.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.1346, allocations: 1.929 MB / 479.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.1349, allocations: 0.7236 MB / 480.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.432e-05/0.135, allocations: 32.52 kB / 480.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.1351, allocations: 39.42 kB / 480.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1351, allocations: 192 / 480.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.1545, allocations: 3.461 MB / 484.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/7.661, allocations: 6.641 kB / 484.1 MB, free: 15.25 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches